summaryrefslogtreecommitdiff
path: root/sphinx/builders/qthelp.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-39/+0
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.builders.qthelpTakeshi KOMIYA2019-06-101-7/+3
|
* Separate qthelp to sphinxcontrib packageTakeshi KOMIYA2019-01-191-254/+15
|
* Fix QtHelp: OS dependent path separator is used in .qhp fileTakeshi KOMIYA2019-01-121-2/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge pull request #5819 from jdufresne/coding-commentTakeshi KOMIYA2018-12-171-1/+0
|\ \ | | | | | | Remove unnecessary encoding cookie from Python source files
| * | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | | Deprecate sphinx.config.string_classes; remove all internal usesJon Dufresne2018-12-161-2/+1
|/ / | | | | | | | | | | | | | | | | With only a single text type across supported Python versions, the string_classes is no longer necessary. Internally, all uses were converted to the value `[str]`. For .add_config_value() uses that also supply a default string, the type is inferred.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-2/+2
| |
* | Merge pull request #5796 from jdufresne/superTakeshi KOMIYA2018-12-161-1/+1
|\ \ | | | | | | Use Python 3 super() argument-less syntax
| * | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | | Replace pycompat.htmlescape() by html.escape()Takeshi KOMIYA2018-12-161-5/+5
|/ /
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-11/+10
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-4/+2
| |
* | Fix annotations for buildersTakeshi KOMIYA2018-12-021-14/+17
| |
* | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-1/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-11-221-1/+1
|\ \ | |/
| * Revert "qthelp: Fix URLs for project_files in Windows"Takeshi KOMIYA2018-11-131-1/+1
| | | | | | | | This reverts commit cb831bb70330f851cd37db953beb88653f7f2465.
* | Deprecate and drop internal use of force_decode()Jon Dufresne2018-11-131-13/+3
| | | | | | | | | | | | | | | | | | In the Python 3 only code base, this function is no longer necessary. The type of values is well understood and deliberate. Code should avoid arbitrary mixing of bytes & str. By removing force_decode() calls from docstring values, can deprecate the now unused 'encoding' arguments to various autodoc methods.
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-1/+1
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-10-161-1/+1
| |
* | Prefer builtin open() over io.open() and codecs.open()Jon Dufresne2018-09-111-3/+4
|/ | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function.
* Escape raw stringsStephen Finucane2018-06-201-1/+1
| | | | | | | | | | | These were resulting in the below warning messages when running flake8 under Python 3.6. :48: DeprecationWarning: invalid escape sequence \[ :143: DeprecationWarning: invalid escape sequence \- :250: DeprecationWarning: invalid escape sequence \s Signed-off-by: Stephen Finucane <stephen@that.guru>
* Close #5035: qthelp builder allows dashes in :confval:`qthelp_namespace`Takeshi KOMIYA2018-06-161-1/+1
|
* qthelp: Fix URLs for project_files in WindowsTakeshi KOMIYA2018-05-021-1/+1
|
* Merge branch '1.7'Takeshi KOMIYA2018-03-211-97/+40
|\
| * Fix mypy violationsTakeshi KOMIYA2018-03-181-11/+11
| |
| * qthelp: escape keywords in .qhp fileTakeshi KOMIYA2018-03-181-4/+4
| |
| * Do not construct <files> tag by python codeTakeshi KOMIYA2018-03-181-20/+19
| |
| * Use template for generating .qhp fileTakeshi KOMIYA2018-03-181-44/+9
| |
| * builder: Use template for generating .qhcp fileTakeshi KOMIYA2018-03-181-33/+12
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-7/+8
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-4/+3
|
* builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+5
| | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-12-161-1/+1
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2017-12-161-1/+1
| |
| * Fix for reproducibility of htmlhelp and qthelp buildsDmitry Shachnev2017-12-121-1/+1
| | | | | | | | | | Make sure the generated list of files is sorted. This is similar to what was applied to EPub builder in 0b7c73a981.
* | Close #1448: qthelp: Add new config value; qthelp_namespaceTakeshi KOMIYA2017-10-081-1/+7
| |
* | sort file listsBernhard M. Wiedemann2017-06-201-1/+1
|/ | | | | | | | | similar to commit 0b7c73a98 filesystems return file lists in random order, but we want to generate reproducible output. See https://reproducible-builds.org/ for why this matters.
* Update type annotations for new mypyTakeshi KOMIYA2017-05-071-2/+2
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |