summaryrefslogtreecommitdiff
path: root/tests/test_domain_js.py
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for noindexentryJakob Lykke Andersen2020-07-051-0/+10
|
* Fix #7301: capital characters are not allowed for node_idTakeshi KOMIYA2020-03-291-8/+8
|
* Fix #7301: Allow . and _ for node_idTakeshi KOMIYA2020-03-221-7/+7
| | | | | | | | | | | | In development of 3.0, Sphinx starts to obey to the rule of "Identifier Normalization" of docutils. This extends it to allow dots(".") and underscores("_") for node identifier. It allows Sphinx to generate node identifier from source string as possible as it is (bacause dots and underscores are usually used in many programming langauges). This change will keep not to break hyperlinks as possible.
* js domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-011-25/+32
|
* test: Add testcase for js domainTakeshi KOMIYA2020-02-151-0/+53
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix #6140: Use unittest.mock instead of mockTakeshi KOMIYA2019-03-081-1/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | 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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-37/+31
|/
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-2/+1
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* refs #3458: add sphinx.testing that are moved from /tests directory.shimizukawa2017-05-141-1/+1
|
* Fix flake8 violationsTakeshi KOMIYA2017-05-091-8/+8
|
* Implement get_full_qualified_name() to JavascriptDomain (refs: #3630)Takeshi KOMIYA2017-04-231-0/+32
|
* Merge pull request #3475 from agjohnson/domain-js-add-nestingTakeshi KOMIYA2017-03-261-31/+79
|\ | | | | Add nesting, package directive, and method directive to JavaScript domain
| * Remove JS domain module feature for null module namesAnthony Johnson2017-03-201-4/+1
| |
| * Add nesting, module directive, and method directive to JavaScript domainAnthony Johnson2017-03-151-31/+82
| | | | | | | | | | | | | | | | | | | | * Adds nesting to the JavaScript domain, to allow for nesting of elements * Adds the ``js:module`` directive, which behaves similarly to the Python directive * Adds the ``js:method`` directive, an alias to ``js:function`` * Adds roles for ``js:mod`` and ``js:meth`` * Updates tests to passing cases * Adds docs for new features
* | Year++Takeshi KOMIYA2017-03-261-1/+1
|/
* Add tests for xrefs on Python and JavaScript domainsAnthony Johnson2017-03-051-0/+87
These are just the passing test cases for the domains currently. I am going to patch up issues with nesting on both domains to start, so these are the test cases I'll be testing against. I'll see about addressing the other core domains, or at very least the cpp domain, with similar tests if this looks okay. So far, these tests only test against methods/functions for the basic nesting structure. More complete tests will test additional domain roles. Refs #662