-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify conf.py and RST to prep for Furo vs Pytorch config (#268)
We plan to land the Furo proof of concept soon (#233), so that people can more easily finish Qiskit-ifying the theme. We have to set slightly different conf.py values, like `html_theme_options`. We'll do that by something like this: ```python if "FURO" in os.environ: # furo options else: # pytorch options ``` So, this is prework to make `conf.py` as simple as possible before adding new complexity. -- This also removes the unnecessary `.. contents::` directives from some pages. They didn't actually do anything, but cause a huge warning when using Furo. With Pytorch, we still have our right page-level table of contents even without it.
- Loading branch information
1 parent
8657a7c
commit c9b9a41
Showing
4 changed files
with
38 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
Lists | ||
===== | ||
|
||
|
||
.. contents:: Table of Contents | ||
|
||
Enumerated Lists | ||
---------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters