Skip to content

Commit a6701fa

Browse files
committed
Update local build instructions to remove Python version
1 parent 5cf036c commit a6701fa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses reStructuredText. For a reference on how to write reStructured
1818

1919
You may want to build the HTML locally before pushing, in order to ensure that the result is what you'd expect. These files aren't included in the git repo, nor are they used online; this is solely to create a local, offline version of the online docs.
2020

21-
- Install ``Python 2.7``
21+
- Install ``Python``
2222
- Install ``pip``
2323
- Navigate to the project directory and use the command ``pip install -r requirements.txt``
2424
- Build the docs using ``make html``

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
# -- General configuration ------------------------------------------------
99

1010
def setup(app):
11-
app.add_stylesheet('extra.css')
11+
try:
12+
app.add_stylesheet('extra.css')
13+
14+
except:
15+
app.add_css_file('extra.css')
1216

1317
extensions = [
1418
'sphinx.ext.todo',

0 commit comments

Comments
 (0)