Skip to content

Latest commit

 

History

History
 
 

docs

DSPy Documentation

This website is built using Docusaurus, a modern static website generator.

Contributing to the docs Folder

This guide is for contributors looking to make changes to the documentation in the dspy/docs folder.

  1. 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
  1. 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.

  2. 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