Skip to content

Commit 928dfd9

Browse files
committed
DOC: Configure documentation for github pages
1 parent 4f00349 commit 928dfd9

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ dist/*
4444
sdist/*
4545
docs/api/*
4646
docs/_rst/*
47+
!docs/_build/
4748
docs/_build/*
49+
!docs/_build/html
4850
cover/*
4951
MANIFEST
5052

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "docs/_build/html"]
2+
path = docs/_build/html
3+
url = git@github.com:DWesl/check-python-h-first
4+
branch = gh-pages

docs/_build/html

Submodule html added at d274555

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"sphinx.ext.ifconfig",
7373
"sphinx.ext.mathjax",
7474
"sphinx.ext.napoleon",
75+
"sphinx.ext.githubpages",
7576
]
7677

7778
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)