This website is built using Docusaurus, a modern static website generator.
This guide is for contributors looking to make changes to the documentation in the dspy/docs
folder.
- Pull the up-to-date version of the website: Please pull the latest version of the live documentation site via its subtree repository with the following command:
#Ensure you are in the top-level dspy/ folder
git subtree pull --prefix=docs https://github.com/krypticmouse/dspy-docs master
-
Push your new changes on a new branch: Feel free to add or edit existing documentation and open a PR for your changes. Once your PR is reviewed and approved, the changes will be ready to merge into main.
-
Updating the website: Once your changes are merged to main, they need to be pushed to the subtree repository that hosts the live documentation site. This step will eventually be done automatically, but for now, please run the following command to push the updated
docs
content to the website subtree repository:
#Ensure you are in the top-level dspy/ folder
git subtree push --prefix=docs https://github.com/krypticmouse/dspy-docs master