This repository contains the source files for the Psych-DS documentation website. The documentation is built using MkDocs and hosted on ReadTheDocs.
- Clone the repository:
git clone https://github.com/psych-ds/psychds-docs.git
cd psychds-docs
- Create and activate a virtual environment (recommended):
python -m venv venv
# On Windows
.\venv\Scripts\activate
# On Unix or MacOS
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Start the local development server:
mkdocs serve
The site will now be running at http://127.0.0.1:8000
and will automatically rebuild when you save changes to any source files.
-
Fork and Clone: Fork this repository and clone it locally.
-
Create a Branch: Create a branch for your changes:
git checkout -b feature/your-feature-name
-
Make Changes:
- Documentation is written in Markdown
- Add new pages in the appropriate directory
- Update
.pages.yml
if you add new files - Images go in
docs/images/
-
Test Locally: Always test your changes using
mkdocs serve
-
Submit a Pull Request: Push your changes and create a pull request
The mkdocs.yml
file controls the site configuration. Key settings include:
- Theme configuration
- Plugins
- Site metadata
The documentation is automatically built and deployed to ReadTheDocs when changes are pushed to the main branch. No manual deployment is necessary.
- Use clear, concise languag
- Follow the existing document structure
- Open an issue in this repository
- Check the MkDocs documentation
- Review the ReadTheDocs guide