Skip to content

Commit

Permalink
Use cookiecutter variable for project repo in conf.py (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zethson authored Apr 25, 2024
1 parent 6e95897 commit c29afb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions {{cookiecutter.project_name}}/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Configuration file for the Sphinx documentation builder.
#

# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
Expand Down Expand Up @@ -36,10 +36,10 @@

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "{{cookiecutter.github_user}}", # Username
"github_repo": project_name, # Repo name
"github_version": "main", # Version
"conf_py_path": "/docs/", # Path in the checkout to the docs root
"github_user": "{{cookiecutter.github_user}}",
"github_repo": "{{cookiecutter.project_repo}}",
"github_version": "main",
"conf_py_path": "/docs/",
}

# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit c29afb3

Please sign in to comment.