Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The public pages for django-commons.org

NotificationsYou must be signed in to change notification settings

django-commons/django-commons-mkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Django Commons docs are deployed atdjango-commons.org.

The repository that hosts the docs is athttps://github.com/django-commons/django-commons.github.io

Local Development

  1. Create a Python 3.13 virtual environment (uv venv --python 3.13)
  2. Runpip install mkdocs mkdocs-material
  3. Runmkdocs serve -f src/mkdocs.yml

With uv:uv run --python 3.13 --with mkdocs --with mkdocs-material mkdocs serve -f src/mkdocs.yml

pre-commit

You don't have to use pre-commit. But if you choose to:

  1. Install pre-commit
  • Runpre-commit install

This will install pre-commit. Then, before you commit, runpre-commit run to run pre-commit and check your changed files for linting errors.

Deployment

The site is hosted using GitHub Pages which requires a separate repository.

If you have cloned both this repository and django-commons.github.io to the same parent directory as follows:

django-commons-mkdocs/    src/        mkdocs.yml        docs/django-commons.github.io/

To deploy, run the following command from thedjango-commons.github.io/ directory.

uv run --python 3.13 --with mkdocs --with mkdocs-material mkdocs  gh-deploy --config-file ../django-commons-mkdocs/src/mkdocs.yml --remote-branch main

MkDocs Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

About

The public pages for django-commons.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp