Takeshi KOMIYA
b6245266ab
Merge pull request #9303 from tk0miya/fix_docslint
...
doc: Fix docslint misunderstanding scope of code-blocks
2021-06-06 13:33:17 +09:00
Takeshi KOMIYA
e0500f7354
doc: Fix docslint misunderstanding scope of code-blocks
2021-06-06 13:24:06 +09:00
Takeshi KOMIYA
92335bd6e6
Close #9016 : linkcheck builder failed to check the anchors of github.com
2021-06-01 00:31:15 +09:00
Brecht Machiels
ac0dcddeb8
Docs: fix typo in env-merge-info
2021-03-30 16:44:50 +02:00
Takeshi KOMIYA
502c4ee5fb
Merge branch '3.x'
2021-01-24 14:32:13 +09:00
Takeshi KOMIYA
2626a74f0a
doc: Show type annotations for methods of Sphinx application class
2021-01-24 00:08:04 +09:00
Takeshi KOMIYA
5460ea103b
Merge branch '3.x'
2021-01-08 01:23:17 +09:00
Takeshi KOMIYA
af4e615a8a
Close #6241 : html: Allow to add JS/CSS files to the specific page
...
Allow to add JS/CSS files to the specific page when an extension calls
`app.add_js_file()` or `app.add_css_file()` on `html-page-context`
event.
2021-01-07 02:12:07 +09:00
Faris A Chugthai
24566623e1
Update the sphinx core events in appappi.rst
...
I'm very happy to see that the events in Sphinx have been laid out in order as they have been in this doc.
With that being said the notation I noticed was a bit odd. Some of the items in the list refer to events and as a result,
parenthesis are used to indicate the beginning and end of the parameters that the event takes.
In other items in the list, parenthesis are used for additional context for an event. The combination of some particularly very long lines,
the intermixing of comments, pseudo-code, indentation of items following a `for` or an `if` made this very difficult to read on a mobile device.
As a result, I've added whitespace, fixed a typo, reduced the length of some lines by moving them to a new line, and removed all `()` that were not
present to indicate parameters fed to a function.
2020-12-21 22:45:35 -05:00
Takeshi KOMIYA
0e98e9b1a8
Fix #6914 : Emit a detailed warning when failed to resolve :ref:
...
To be clear the ambiguous warning for missing-reference :ref:,
this separates the warning to missing-label and missing-caption.
To emit a warning dynamically, this also adds a new event:
`warn-missing-reference` to customize warning messages via event
handlers.
2020-11-03 02:27:43 +09:00
Chris Sewell
46177f6af3
Correct numbers
2020-08-21 01:58:28 +01:00
Chris Sewell
5c744d8342
📚 DOCS: Improve build process overview
2020-08-20 22:37:37 +01:00
Chris Holdgraf
ef03bcc6ea
output files comment
2020-07-02 13:46:44 -07:00
Chris Holdgraf
853060a646
events
2020-07-02 13:42:53 -07:00
Jakob Lykke Andersen
ff7545a191
Allow NoUri from 'missing-reference' handlers.
...
Also extend documentation of 'missing-reference'.
2020-05-17 12:34:33 +02:00
Takeshi KOMIYA
f13c546862
doc: Update docs
2020-03-07 02:00:50 +09:00
Takeshi KOMIYA
7c8b32a85d
doc: Remove a mention to todo ext. from env-merge-info
2020-03-06 22:42:06 +09:00
Takeshi KOMIYA
e7a0af807a
Merge branch '2.0'
2020-01-30 23:29:32 +09:00
Takeshi KOMIYA
2e22e96061
Add new event: :event:object-description-transform
2020-01-25 17:12:41 +09:00
Takeshi KOMIYA
b968bb91e9
Close #6830 : autodoc: consider a member private if docstring has "private" metadata
2020-01-04 13:28:07 +09:00
Takeshi KOMIYA
b9d7239d90
Merge branch '2.0'
2019-05-29 00:51:25 +09:00
Takeshi KOMIYA
9b2423c5bb
doclinter: restrict by 90 columns
2019-05-26 10:53:53 +09:00
Takeshi KOMIYA
06f86b0639
Make EventManager portable
...
So far, we need to bypass application object for modules to emit
a event. This make EventManager portable and easy to pass event
emitter. This brings modules less coupled with application object.
2019-04-16 14:06:36 +09:00
Takeshi KOMIYA
9e2aba54d3
Make EventManager portable
...
So far, we need to bypass application object for modules to emit
a event. This make EventManager portable and easy to pass event
emitter. This brings modules less coupled with application object.
2019-04-06 15:36:50 +09:00
Takeshi KOMIYA
61098a0ae2
Drop features and APIs deprecated in 1.8
2019-03-30 14:50:37 +09:00
Takeshi KOMIYA
eaec3bd916
Add sphinx.project; a manipulator for project and documents
2018-10-16 10:34:58 +09:00
Takeshi KOMIYA
a7cab001d9
Drop APIs deprecated in 2.0
2018-09-03 00:31:33 +09:00
Takeshi KOMIYA
dd65d00f29
Implement math_renderer framework
2018-07-28 18:20:11 +09:00
Takeshi KOMIYA
158d7d2fd3
docs: Fix location of attributes
2018-06-05 22:57:04 +09:00
Takeshi KOMIYA
72011465ad
Merge pull request #5020 from tk0miya/5018_update_docs
...
Fix #5018 : wrong signature of env-merge-info and env-check-consistency
2018-05-29 01:25:46 +09:00
Takeshi KOMIYA
1deceda6da
Merge branch 'master' into 3606_load_mathjax_async
2018-05-28 23:04:13 +09:00
Takeshi KOMIYA
814abfd020
Fix #5018 : wrong signature of env-merge-info and env-check-consistency
2018-05-28 21:38:16 +09:00
Takeshi KOMIYA
f3168d9894
Rename app.add_javascript() to add_js_file()
2018-05-24 23:59:49 +09:00
Takeshi KOMIYA
8fd34b88d3
add_javascript() allows keyword arguments as attributes for <script> tag
2018-05-24 23:59:49 +09:00
Takeshi KOMIYA
297ea8070f
Update docs
2018-05-24 23:55:12 +09:00
Takeshi KOMIYA
b3e7609a80
Update docs
2018-02-25 23:44:38 +09:00
Takeshi KOMIYA
5789b25847
Change interface of add_source_parser() and add add_source_suffix()
2018-02-21 10:54:49 +09:00
Stephen Finucane
487480ca01
doc: Add 'is_parallel_allowed'
...
This is an important function and should be documented.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-21 11:37:59 +00:00
Stephen Finucane
6c23dac5a6
doc: Reorder 'sphinx.application' docs to match code
...
Use the same ordering to minimize cognitive load.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-21 11:19:52 +00:00
Stephen Finucane
b7ff955472
doc: Move 'sphinx.application' API docs to code
...
This allows us to do something like 'help(sphinx.application)' in code.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-21 11:19:46 +00:00
Stephen Finucane
eaaab75ec2
doc: Rework 'sphinx.application' API documentation
...
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-21 10:49:38 +00:00
Takeshi KOMIYA
6e420e517e
Merge pull request #4465 from tk0miya/improve_config
...
Improve config
2018-01-21 16:05:34 +09:00
Stephen Finucane
b7749c6ca3
doc: Move sphinx.config API docs to code
...
Once again, we make things a little smarter by using Python domain
roles.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-20 12:53:45 +00:00
Stephen Finucane
391cd8195b
doc: Move sphinx.errors API docs to code
...
This allows us to do something like 'help(sphinx.errors)' in code. We
reword the exception descriptions per Python stdlib conventions.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-20 12:47:49 +00:00
Takeshi KOMIYA
29df3a095a
Add config-inited event
2018-01-20 21:21:45 +09:00
Takeshi KOMIYA
ae620e16f7
doc: Fix typo
2018-01-20 21:09:51 +09:00
Takeshi KOMIYA
1869f4d674
Update docs (refs: #3923 )
2017-07-16 01:48:09 +09:00
Takeshi KOMIYA
6d2bcf9c27
Mark as experimental
2017-05-07 16:13:19 +09:00
Takeshi KOMIYA
d1e8e41b5e
Fix #3633 : misdetect unreferenced citations
2017-04-29 23:22:00 +09:00
Takeshi KOMIYA
621a4e6f61
Fix #3628 : Rename sphinx_themes entry point to sphinx.html_themes
2017-04-22 14:59:10 +09:00