Commit Graph
18 Commits
Author SHA1 Message Date
Anthony Johnson 9061c1e6de Expand tox config
* Adds support for explicit tox environments for html4/5
* Adds utility factors for py2/3, for easy access to the system python3
  binary
* Adds a noop -qa postfix factor to make it easy to compare against
  master or a tag
2021-07-19 17:57:54 -06:00
Aaron Carlisle d93528ef3e Tests: Add missing sphinx version 2021-07-13 19:47:25 -04:00
Aaron Carlisle 0ef60e7841 Tests: run against sphinx 4.1 2021-07-12 20:49:30 -04:00
Aaron CarlisleandAnthony e94984caec Make sphinx version comparison constistent
Co-authored-by: Anthony <aj@ohess.org>
2021-07-12 18:36:03 -04:00
Aaron Carlisle b73b67eb33 Revert "Test with official beta"
This reverts commit db302055b9.
2021-04-12 19:34:18 -04:00
Aaron Carlisle db302055b9 Test with official beta 2021-04-12 19:09:41 -04:00
Aaron Carlisle 836467e4b9 Add compatibility for sphinx4
Sphinx 4.x moves javascript and css declarations to `script_files` and `css_files`. This patch fixes duplicatd link and script tags when using sphinx4

Sphinx 4.x changes the default setting of html_codeblock_linenos_style to 'inline' and deprecates `html_codeblock_linenos_style`. The css for `.hll` to make the hightling span the full line cause the line number and code to be split on seperate lines. I could not get the highlight to span the full line so it was removed completely. I also made line numbers not selectible by the user.

This changes also adds the needed changes to the tox testing enviorment alhough, sphinx4 is not officially released to pypi yet. You will need to test these changes locally using: `pip install git+https://github.com/sphinx-doc/sphinx@master`
2021-04-10 16:50:34 -04:00
Santos Gallegos 6d89d9dbdf Test with more sphinx versions (#1047) 2021-02-11 18:09:47 -05:00
Santos Gallegos e2b10425ef CI: switch to circleci (#1020) 2020-11-25 18:51:19 -05:00
Santos Gallegos 33a9df7185 Tests with more versions of sphinx/python 2020-10-08 17:46:26 -05:00
Anthony Johnson ca75c343e2 Just drop Sphinx 1.5, the translator exception is not due to this theme 2020-05-05 14:16:28 -06:00
Anthony Johnson 8a08ebec1a Prune tox Sphinx/Python versions 2020-05-05 14:16:28 -06:00
Anthony Johnson ebc87bc0a2 Address Sphinx 2 compatibility issues
The main change here is that we load information into the template so
that CSS can make decisions about what element hierarchy it can expect,
instead of covering both html4 and html5 writer with a single set of
rules. I also fixed the tox config so that it generates docs for
testing.

This is also in part going to revert the changes in #785. Instead of
maintaining a list of `dl` classes to apply the domain styles to, this
PR instead maintains a list of definition list classes to *not* apply
the domain definition list styling too. There are too many possibilities
to cover with an include list.
2020-05-05 14:16:28 -06:00
Aaron Carlisle d75745736a Tests: Update to new sphinx & python 2018-10-01 11:05:35 -04:00
Eric Holscher 6392329d34 With deps 2017-12-20 20:39:13 -08:00
Eric Holscher 161cb8b67f More sphinx 2017-12-20 20:39:01 -08:00
Eric Holscher 72003513aa Add docs to travis 2017-12-20 20:36:52 -08:00
Anthony Johnson 79c72ef53d Adds testing and hopefully a final fix for the empty toctree issue
This adds some more hacky fixes to our layout to avoid singlehtml builders.
Instead of trying to guess if this is working, I added testing!
2017-03-06 14:45:58 -08:00