Skip to content

Commit dcf07bf

Browse files
committed
chore: Update project template to sphinx-notes/cookiecutter@4c6b17ae
1 parent 4aa758a commit dcf07bf

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sphinx-notes/cookiecutter",
3-
"commit": "62cd96195962da3392cdc34125c95e9144a5f5ca",
3+
"commit": "4c6b17aec1a4b8ddca95c4882c6bed2bc230d595",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -20,7 +20,7 @@
2020
"sphinx_version": "7.0",
2121
"development_status": "3 - Alpha",
2222
"_template": "https://github.com/sphinx-notes/cookiecutter",
23-
"_commit": "62cd96195962da3392cdc34125c95e9144a5f5ca"
23+
"_commit": "4c6b17aec1a4b8ddca95c4882c6bed2bc230d595"
2424
}
2525
},
2626
"directory": null

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
extensions = [
2525
'sphinx.ext.githubpages',
2626
'sphinx.ext.doctest',
27+
'sphinx.ext.viewcode',
2728
'sphinx_design',
2829
'sphinx_copybutton',
2930
'sphinx_last_updated_by_git',
@@ -118,12 +119,11 @@
118119
# documentation root, use os.path.abspath to make it absolute, like shown here.
119120
import os
120121
import sys
121-
sys.path.insert(0, os.path.abspath('../src/sphinxnotes'))
122-
extensions.append('render')
122+
sys.path.insert(0, os.path.abspath('../src/'))
123+
extensions.append('sphinxnotes.render')
123124

124125
# CUSTOM CONFIGURATION
125126

126-
extensions.append('sphinx.ext.doctest')
127127
extensions.append('sphinxnotes.data')
128128

129129
autodoc_default_options = {

0 commit comments

Comments
 (0)