Skip to content

Commit 5756fe9

Browse files
authored
Merge pull request #604 from afshin/update-changelog
Move Changelog to Standard Location
2 parents 3892cc4 + dd81bab commit 5756fe9

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ jobs:
6060
timeout-minutes: 30
6161
run: |
6262
pytest ipykernel -vv -s --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10
63+
- name: Build the docs
64+
run: |
65+
cd docs
66+
pip install -r requirements.txt
67+
make html
6368
- name: Build and check the dist files
6469
run: |
6570
pip install build twine

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ __pycache__
2424

2525
data_kernelspec
2626
.pytest_cache
27+
28+
# copied changelog file
29+
docs/changelog.md
File renamed without changes.

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import sys
1616
import os
1717
import shlex
18+
import shutil
1819

1920
# If extensions (or modules to document with autodoc) are in another directory,
2021
# add these directories to sys.path here. If the directory is relative to the
@@ -151,7 +152,7 @@
151152
# Add any paths that contain custom static files (such as style sheets) here,
152153
# relative to this directory. They are copied after the builtin static files,
153154
# so a file named "default.css" will overwrite the builtin "default.css".
154-
html_static_path = ['_static']
155+
html_static_path = []
155156

156157
# Add any extra paths that contain custom files (such as robots.txt or
157158
# .htaccess) here, relative to this directory. These files are copied
@@ -304,3 +305,8 @@
304305
'ipython': ('https://ipython.readthedocs.io/en/latest', None),
305306
'jupyter': ('https://jupyter.readthedocs.io/en/latest', None),
306307
}
308+
309+
310+
def setup(app):
311+
here = os.path.dirname(os.path.abspath(__file__))
312+
shutil.copy(os.path.join(here, '..', 'CHANGELOG.md'), 'changelog.md')

0 commit comments

Comments
 (0)