Skip to content

Commit 0ba92d3

Browse files
agjohnsonhumitos
andauthored
Add beta version of doc diff library for testing (#9546)
* Add beta version of doc diff library for testing * Minor changes to make doc-diff to work --------- Co-authored-by: Manuel Kaufmann <[email protected]>
1 parent 6cd1440 commit 0ba92d3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/_static/js/readthedocs-doc-diff.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@
150150
html_css_files = ["css/custom.css", "css/sphinx_prompt_css.css"]
151151
html_js_files = ["js/expand_tabs.js"]
152152

153+
if os.environ.get("READTHEDOCS_VERSION_TYPE") == "external":
154+
html_js_files.append("js/readthedocs-doc-diff.js")
155+
153156
html_logo = "img/logo.svg"
154157
html_theme_options = {
155158
"logo_only": True,

docs/user/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ You can find out more about our all the :doc:`features </reference/features>` in
9191
First steps
9292
-----------
9393

94-
Are you new to software documentation
95-
or are you looking to use your existing docs with Read the Docs?
94+
Are you new to software documentation?
95+
Are you looking to use your existing docs with Read the Docs?
9696
Learn about documentation authoring tools such as Sphinx and MkDocs
9797
to help you create fantastic documentation for your project.
9898

0 commit comments

Comments
 (0)