-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from stuartmaxwell:docs-site
Docs-site
- Loading branch information
Showing
11 changed files
with
996 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Documentation builder for the project.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
"""Configuration file for the Sphinx documentation builder.""" | ||
|
||
from pathlib import Path | ||
|
||
import tomllib | ||
|
||
# Define the path to pyproject.toml | ||
pyproject_path = Path(__file__).parent.parent / "pyproject.toml" | ||
|
||
# Read the version from pyproject.toml | ||
with pyproject_path.open("rb") as f: | ||
pyproject_data = tomllib.load(f) | ||
djpress_version = pyproject_data["project"]["version"] | ||
|
||
# General information about the project. | ||
project = "DJ Press" | ||
copyright = "2024, Stuart Maxwell" # noqa: A001 | ||
author = "Stuart Maxwell" | ||
release = djpress_version | ||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
extensions = [ | ||
"myst_parser", | ||
] | ||
myst_enable_extensions = ["colon_fence"] | ||
myst_heading_anchors = 3 | ||
|
||
templates_path = ["_templates"] | ||
exclude_patterns = [ | ||
"_build", | ||
"Thumbs.db", | ||
".DS_Store", | ||
] | ||
|
||
language = "en" | ||
|
||
# The name of the Pygments (syntax highlighting) style to use. | ||
pygments_style = "nord" | ||
|
||
# If true, `todo` and `todoList` produce output, else they produce nothing. | ||
todo_include_todos = False | ||
|
||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output | ||
|
||
html_theme = "sphinx_rtd_theme" | ||
html_theme_options = {} | ||
html_title = project | ||
html_static_path = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
# DJ Press Docs | ||
# DJ Press Documentation | ||
|
||
- [URL structure](url_structure.md) | ||
Welcome to the documentation site for DJ Press. This is a work in progress, but the following key areas are mostly | ||
complete: | ||
|
||
- [URL Structure](url_structure.md) | ||
- [Template Tags](templatetags.md) | ||
- [Themes](themes.md) | ||
|
||
## Table of Contents | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
--- | ||
url_structure | ||
templatetags | ||
themes | ||
``` |
Oops, something went wrong.