Adam Turner
fba5d2af6c
Convert `theme.conf to theme.toml` (part 2)
2024-04-11 19:01:17 +01:00
Adam Turner
e29e5fed36
Convert `theme.conf to theme.toml` (part 1)
2024-04-11 19:01:17 +01:00
Shengyu Zhang
9c3b50b31c
Avoid hard-coding 'index' for the master document in templates ( #11801 )
2023-12-28 07:05:14 +00:00
Adam Turner
5730329d83
Simplify the font selection
2023-10-04 16:56:47 +01:00
Adam Turner
8878bee000
Replace the header image with a new SVG logo
2023-10-04 16:56:46 +01:00
Stefanie Molin
e09d02e440
Allow `copyright` to contain multiple entries ( #10983 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2023-05-11 22:43:48 +01:00
Adam Turner
4e27a5fba1
Remove unneeded JavaScript from `sphinx13` theme
2023-04-23 20:45:57 +01:00
Tim Hoffmann
b430e05285
Create a 'search field' component for themes ( #11045 )
...
``searchfield.html`` is similar to the existing ``searchbox.html``, but does not
have the heading "Quick Search". Instead, it uses "Search" as a placeholder
text. This gives a cleaner and less cluttered appearance.
The searchfield component is added to the basic theme and thus can be used
in any derivative theme. It is not used by default for backward compatibility.
The searchfield compenent is made the default in the sphinx13 theme.
CSS changes ensure that the top of the search field is aligned with the
top of the main content.
2023-04-21 02:02:04 +01:00
Dimitri Papadopoulos
669bcc0a19
Fix typos found by codespell
2023-03-27 07:22:07 +02:00
Adam Turner
56aa3412ef
Merge branch '5.x'
...
# Conflicts:
# setup.py
# sphinx/__init__.py
2022-09-23 17:27:00 +01:00
Adam Turner
ee005caf22
Do not apply epigraph style to all block quotes
...
Correct indentation where appropriate for stanzas that should not be
rendered as `<blockquote>` HTML elements.
Closes GH-10686
2022-09-12 19:54:36 +01:00
Adam Turner
14c9b40f15
Merge branch '5.x'
...
# Conflicts:
# setup.py
# sphinx/application.py
# sphinx/environment/__init__.py
# sphinx/ext/autodoc/directive.py
# tests/test_build_html.py
2022-09-09 09:58:24 +01:00
Tim Hoffmann
5951de4086
sphinx13.css: add left padding to the footer ( #10789 )
2022-08-28 01:33:26 +01:00
Adam Turner
94024e6efa
Merge branch '5.x'
...
# Conflicts:
# sphinx/ext/autodoc/__init__.py
# sphinx/writers/html5.py
2022-07-18 22:49:56 +01:00
Chris Holdgraf
eb0a6c574f
Update documentation structure and theming ( #10677 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com >
2022-07-18 22:48:28 +01:00
Adam Turner
1e3ade55fe
Merge branch '5.x'
2022-07-10 23:05:23 +01:00
Adam Turner
9112cfeb8d
Refresh the Sphinx13 theme ( #10652 )
2022-07-10 22:48:15 +01:00
Adam Turner
b26bf0320c
Add underscore.js to the sphinx13 theme ( #10588 )
2022-06-19 23:12:38 +01:00
Takeshi KOMIYA
4292630965
Fix #10574 : Failed to search on sphinx-doc.org (again)
2022-06-19 22:47:41 +09:00
Takeshi KOMIYA
521a47b033
Fix #10574 : Failed to search on sphinx-doc.org (again)
...
To make RtD search available, this adds jQuery patches on old Sphinx to
sphinx-doc.org.
2022-06-19 19:26:18 +09:00
Adam Turner
5806f0af27
Add nav.contents everywhere that div.topic is used
2022-06-07 23:12:29 +01:00
Adam Turner
fbd374859a
Add aside.topic for Docutils 0.18+ (sphinx13)
2022-06-04 17:09:44 +01:00
Adam Turner
3b01fbe2ad
Drop JavaScript Frameworks ( #10028 )
...
* Delete jQuery and underscore.js
* Move underscores.js setup to searchtools.js
* Update jQuery.url(en|de)code
* Update jQuery.getQueryParameters
* Firefox bug is no longer present
xref https://bugzilla.mozilla.org/show_bug.cgi?id=645075#c49
* Update jQuery.fn.highlightText
* Use enum instead of magic number
* Update test descriptions to remove obsolete jQuery reference
* Update Documentation.getCurrentURL
* Revert accidental fix of Documentation.getCurrentURL
* Update Documentation.initOnKeyListeners
* Update Documentation.hideSearchWords
* Update Documentation.highlightSearchWords
* Update Documentation.initDomainIndexTable
* Use arrow functions and const
* Replace $(document).ready
* Strict mode
* Move Documentation.hideSearchWords next to Documentation.highlightSearchWords
* Update translation functions in Documentation
* Replace $(document).ready in searchtools.js
* Update Scorer
* Update Search.hasIndex, Search.deferQuery, Search.stopPulse
* Prefer window.location
* Update Search.init
* Update Search.loadIndex
* Update Search.setIndex
* Update Search.startPulse
* Add _escapeRegExp
* Update Search.makeSearchSummary
* Update Search.htmlToText
* Update Search.performSearch
* Factor out _displayNextItem
* Update Search.query
* Update Search.performObjectSearch
* Update Search.performTermsSearch
* Remove underscores.js setup
* Use Sets
* Update test configuration
* Fix test failures
* Drop unused make/get URL functions
* Strict mode in searchtools.js
* Remove outmoded check for jQuery and underscore.js
* Ran prettier
prettier --print-width 120 --no-semi --quote-props as-needed --no-bracket-spacing --arrow-parens avoid --write sphinx/themes/basic/static
* Remove more references to jQuery and underscore.js
* Remove jQuery and underscore.js licences
* Update classic theme for no jQuery
* Update all other themes for no jQuery
* Restore jQuery & underscores.js to Sphinx themes
Enables a more gradual deprecation
* Added deprecation note to CHANGES
* Run prettier with defaults
* Update deprecation message to include extensions, note that sources must be copied
* oops
* Address Pradyun's feedback
* Forgot this one
* `let` doesn't work, as it is scoped to the block...
* Remove missed jQuery in sphinx13 theme
2022-01-30 20:27:12 +01:00
Takeshi KOMIYA
0b238d897c
Fix #9108 : docs: Use default pygments_theme to get accessiblity
...
To increse accessiblity of our docs, this changes the pygments_theme of
sphinx-docs.org to "default". It was updated to meet WCAG AA in
https://github.com/pygments/pygments/pull/1940 .
2021-12-11 11:34:51 +09:00
Thibaud Colas
00e2c2e250
Fix broken "Extend" link in site header
...
Spotted while navigating https://www.sphinx-doc.org/en/master/ .
2021-02-04 22:04:17 +00:00
Takeshi KOMIYA
51d500833e
Merge branch '3.x' into 7774_remove_develop.rst
2021-01-24 16:34:47 +09:00
François Freitag
5166dd194c
Strip trailing whitespaces and normalize line endings
...
Trailing whitespace do not have impact on the result, they are just
unused bytes. Most text editors are configured to strip trailing
whitespaces. Remove them all in one go.
Update a handful of files to use the UNIX line ending.
2020-10-03 13:47:01 +02:00
Stephen Finucane
f40bbee221
docs: Remove the 'develop' guide
...
This contained a list of extensions, along with general contributing
information and pointers on how to develop your own extensions. The list
of extensions was very old, referenced the dead BitBucket repo and was
really not very helpful, while the contributing and development
information was just pointers to other, better documentation. Remove the
document wholesale and update any pointers we have to it to other,
better docs.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2020-06-02 22:02:19 +01:00
Takeshi KOMIYA
e1c7e9d481
Fix #7534 : docs: Big vertical whitespace rendered in official doc
2020-04-22 23:37:44 +09:00
Matthias Geier
fc78f09441
DOC: Use html_baseurl
2020-04-17 17:01:48 +02:00
Jon Dufresne
e6915baae8
Remove redundant type="text/javascript" from <script> elements
...
In HTML5, <script> elements default to MIME type text/javascript. The
HTML5 living standard and MDN recommend against including the attribute.
From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type
> The HTML5 specification urges authors to omit the attribute rather
> than provide a redundant MIME type.
From https://html.spec.whatwg.org/#the-script-element
> Authors should omit the type attribute instead of redundantly setting
> it.
2019-12-15 07:52:40 -08:00
Takayuki SHIMIZUKAWA
71334def42
doc: avoid font-size when :mod: role in headings
2019-10-26 15:35:06 +09:00
Takeshi KOMIYA
12e65061f5
Update basic.css for HTML5 writer
2019-02-11 17:46:56 +09:00
Takeshi KOMIYA
469e8afef7
docs: Use "Courier New" font to code blocks
2019-02-11 16:48:55 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09:00
Takeshi KOMIYA
fd8e0be57a
Merge branch '1.7'
2018-06-19 23:39:23 +09:00
Takeshi KOMIYA
248869e2db
doc: Use badge to show latest release
2018-06-17 16:45:58 +09:00
Takeshi KOMIYA
d505d232de
Merge pull request #4884 from tk0miya/4873_adjust_word-break
...
Fix #4873 : Adjust word-break of deprecated-APIs table
2018-04-22 21:31:56 +09:00
Takeshi KOMIYA
d97dc05b37
Fix #4873 : Adjust word-break of deprecated-APIs table
2018-04-22 20:00:46 +09:00
Takeshi KOMIYA
69624bffa7
doc: Fix filename
2018-04-12 00:49:31 +09:00
Takeshi KOMIYA
d8c107a61b
Fix #4744 : Add canonical URL to docs
2018-03-21 00:01:44 +09:00
Tim Hoffmann
bbfcb2443d
cleanup formatting of some sidebar items
2018-01-06 17:49:27 +01:00
Takeshi KOMIYA
f1f6ca8cc9
Merge branch 'happy_new_year' into master
2018-01-01 01:09:17 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Alex Gaynor
f9250e198b
Switched stylesheet for font to HTTPS to avoid mixed content issues
2017-09-24 14:02:53 -04:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
e5786b888c
Merge branch 'stable' into 1.5-release
2016-11-13 11:19:26 +09:00
Takeshi KOMIYA
9f39b53c16
Fix #3130 : HTML rendering problems inside admonition block in Sphinx doc
2016-11-13 11:16:44 +09:00
Yoshiki Shibukawa
792d154b1a
fix sphinx document's style to satisfy xhtml standard
2016-09-01 23:54:54 +09:00
Takeshi KOMIYA
8a9459b308
Merge branch 'stable'
2016-08-09 23:19:11 +09:00