Commit Graph
94 Commits
Author SHA1 Message Date
Armin Ronacher b048ea1edf Force index entries to be unicode to fix problems with unicode normalization 2013-11-28 15:34:17 +00:00
Armin Ronacher 81d5f7ac47 Fixed another ordering priority bug in the C++ parser. 2012-01-25 13:43:49 +01:00
Armin Ronacher 8bac40f752 Fixed a priority error that caused operator++ and operator-> to not be parsed properly in the C++ domain. This fixes #861 2012-01-25 13:41:11 +01:00
Armin Ronacher 6649700221 Fixed another ordering priority bug in the C++ parser. 2012-01-25 13:43:49 +01:00
Armin Ronacher 26f5a9b4d5 Fixed a priority error that caused operator++ and operator-> to not be parsed properly in the C++ domain. This fixes #861 2012-01-25 13:41:11 +01:00
Armin Ronacher f6711a6209 Added more tests to the basic parsing of C++ signatures 2011-09-23 00:51:43 +02:00
Armin Ronacher 2a021f1cf9 merged 2011-09-23 00:49:08 +02:00
Armin Ronacher 7eae4bcaeb Attach arrays to the name not the type for C++ domain and fixed a few rendering errors. 2011-09-23 00:48:52 +02:00
Armin Ronacher 5315d23365 Attach arrays to the name not the type for C++ domain and fixed a few rendering errors. 2011-09-23 00:48:52 +02:00
Armin Ronacher 9325a16c6f Added support for strings with commas in template definitions. 2011-09-22 11:17:18 +02:00
Armin Ronacher 49f1425da3 Added support for strings with commas in template definitions. 2011-09-22 11:17:18 +02:00
Armin Ronacher 48ca7f47f9 Added support for noexcept specifiers 2011-09-22 11:15:46 +02:00
Armin Ronacher 794e241ba5 Added support for noexcept specifiers 2011-09-22 11:15:46 +02:00
Armin Ronacher deda15bed3 Small refactoring for how modifiers are parsed in the C++ domain. 2011-09-22 10:54:16 +02:00
Armin Ronacher 5542003e96 Small refactoring for how modifiers are parsed in the C++ domain. 2011-09-22 10:54:16 +02:00
Armin Ronacher 9753d743fc Added support for constexpr in function signatures 2011-09-22 10:43:24 +02:00
Armin Ronacher 9e43f54600 Added support for constexpr in function signatures 2011-09-22 10:43:24 +02:00
Armin Ronacher 6b96b10220 Be explicit about rvalue references. 2011-09-22 10:33:15 +02:00
Armin Ronacher 55935bdd04 Be explicit about rvalue references. 2011-09-22 10:33:15 +02:00
Armin Ronacher bdf5816437 Added support for non-name template arguments. This fixes #696 2011-09-22 10:23:46 +02:00
Armin Ronacher 860b410fbc Added support for non-name template arguments. This fixes #696 2011-09-22 10:23:46 +02:00
Armin Ronacher a2562088f7 C++ domain now supports array definitions. 2011-01-07 15:49:01 +01:00
Armin Ronacher e2a249d729 C++ domain now supports array definitions. 2011-01-07 15:49:01 +01:00
Armin Ronacher 528f305d96 Nicer solution for the C++ fix 2010-05-30 22:18:16 +02:00
Armin Ronacher 475c3ba93b Fixed a C++ bug that caused bad references to be generated. This also
adds a note on overloads always ending up on the first version of the
method in case more than one is defined.
2010-05-30 13:51:50 +02:00
Armin Ronacher 6613b64726 Added class role docs for JS domain. 2010-05-27 16:18:38 +02:00
Armin Ronacher a534f39187 Fixed a bug in the C++ domain and documented more 2010-05-27 14:12:24 +02:00
Armin Ronacher 8c388b8b14 Added :js:class: which makes JS documentation a lot more readible 2010-05-27 13:52:02 +02:00
Armin Ronacher 31aed65b6f Usefulified C++ code example 2010-05-27 13:41:16 +02:00
Armin Ronacher feab1d154e Fixed console.py function term_width_line() issue. #423 2010-05-25 16:24:44 +02:00
Armin Ronacher 5be7570ee8 Fixed console.py function term_width_line() issue. #423 2010-05-25 16:24:44 +02:00
Armin Ronacher ba00521009 Dollar in id has to be replaced for javascript. 2010-04-27 01:48:01 +02:00
Armin Ronacher 2fc3f48c2e Improved JavaScript domain. Supports attributes now and has more reliable
prefix/name separation for nested modules.
2010-04-26 21:50:09 +02:00
Armin Ronacher 71a985c06c long double exists. 2010-03-30 18:57:56 +02:00
Armin Ronacher a6c625f25c More operators for C++. Forgot about new/delete and some other less used
such as ->*.
2010-03-02 13:10:44 +01:00
Armin Ronacher 91322038e2 Added first CPP test 2010-03-02 01:27:44 +01:00
Armin Ronacher c6a6cc5c5f Fixed reference targets 2010-03-01 23:25:33 +01:00
Armin Ronacher e2063b0bae Fixed two undefined errors. 2010-03-01 22:23:56 +01:00
Armin Ronacher 89fdb83831 Relative references work now for the C++ domain 2010-03-01 21:48:40 +01:00
Armin Ronacher 27667cc0b7 Added basic modifier support 2010-03-01 19:54:11 +01:00
Armin Ronacher 9da129aeb9 Added namespace directive to CPP domain, warn instead of raise exceptions
for broken signatures and fixed a name error.
2010-03-01 15:00:58 +01:00
Armin Ronacher 21194f3b2b Started working on support for c++ xrefs 2010-03-01 14:30:24 +01:00
Armin Ronacher 3f82edf3b9 Refactored again. This time added a new type PrefixedNameDefExpr that is
used to prefix a name.  This is used to give a node a full name if it was
defined in the context of a parent (eg, function in a class).
2010-03-01 14:14:14 +01:00
Armin Ronacher 45b89708f0 Added type support 2010-03-01 13:37:44 +01:00
Armin Ronacher b5ee4489be Heavily improved const support, create proper identifiers that pass for
HTML4 and support overloading.
2010-03-01 12:29:05 +01:00
Armin Ronacher cb0e407cbb Refactored description objects again. 2010-03-01 11:05:52 +01:00
Armin Ronacher 7f5e4a271f Prefix classes with "class " and removed useless desc_type node. 2010-03-01 03:25:28 +01:00
Armin Ronacher 6f901f6c74 Proper indices for the c++ object descriptions now. Also broke up the
monolithic class into multiple separate classes and refactored a bit.
Still does not handle overloads.
2010-03-01 03:17:09 +01:00
Armin Ronacher bd576bbe5d Properly parses operator definitions now. 'std:string
module::class::operator std::string()' is picked up properly.
2010-02-28 21:04:35 +01:00
Armin Ronacher be39ba81e6 C++ function signatures are now properly converted to rst nodes. 2010-02-28 19:07:32 +01:00
Armin Ronacher 5db407f4ae Added first version of the C++ signature parser 2010-02-28 17:44:40 +01:00
Armin Ronacher ebeaf438ad Write theme information payload binary, not as text. Otherwise windows users will be unhappy. 2009-07-14 11:43:39 +02:00
Armin Ronacher 686013a0b2 Added new minimal theme called scrolls. 2009-06-30 17:34:18 +01:00
Armin Ronacher aa84aa4dc1 Added a new theme inspired by the jinja / werkzeug theme. 2009-06-30 17:34:02 +01:00
Armin Ronacher ec24ba6864 merged 2009-07-14 11:48:33 +02:00
Armin Ronacher ae34f70782 Write theme information payload binary, not as text. Otherwise windows users will be unhappy. 2009-07-14 11:43:39 +02:00
Armin Ronacher 5c678f02cd Added new minimal theme called scrolls. 2009-06-30 17:34:18 +01:00
Armin Ronacher be192d9c68 Added a new theme inspired by the jinja / werkzeug theme. 2009-06-30 17:34:02 +01:00
Armin Ronacher 957be3bfa0 Refactored role registrations. 2009-06-30 15:16:46 +01:00
Armin Ronacher f82a4a4eab Makefile and .hgignore ignore a virtualenv called "env" in this folder by default now. 2009-06-30 15:16:33 +01:00
Armin Ronacher e8ab405a2e Added werkzeug docs to the examples. 2009-05-30 09:43:51 +02:00
Armin Ronacher 54583227d2 Enabled default jinja sandbox in sphinx. Makes it safer to share themes. 2009-02-19 23:20:29 +01:00
Armin Ronacher 9ba4add4df Fixed a bug in autodoc that caused a type error if automodule was used without members. 2009-02-18 21:05:35 +01:00
Armin Ronacher 2d76170b9c Automated merge with ssh://hg@bitbucket.org/birkenfeld/sphinx 2009-02-06 22:26:02 +01:00
Armin Ronacher 191440725f Fixed a bug in autodoc that caused a lot of headaches to the testsuite. 2009-02-06 22:25:39 +01:00
Armin Ronacher bb218297ff Automated merge with ssh://hg@bitbucket.org/birkenfeld/sphinx 2009-02-05 13:28:57 +01:00
Armin Ronacher bf943483c0 attribute documentation now overrides non attribute documentation.
This makes it possible to document aliased methods and other things::

    def foo(self):
        pass

    #: an alias for foo()
    foo_alias = foo

Also attribute documentation can contain paragraphs now.
2009-02-05 13:28:46 +01:00
Armin Ronacher 4f21cce12e Merge 2009-02-01 20:51:16 +01:00
Armin Ronacher 9f85317530 Autodoc can document classes as functions now if explicitly
marked with `autofunction`.
2009-01-17 01:21:47 +01:00
Armin Ronacher 646840d387 Changed the tokenizer in pgen2 to add a newline to lines even if it's missing. This makes sure that a file that does not end with a newline is properly parsed. 2009-01-09 18:55:42 +01:00
Armin Ronacher c788e0467c Added better error message for missing roman.py 2008-12-07 23:17:29 +01:00
Armin Ronacher 31a46c6930 Changed an __import__ call in the highlighter module because that trigger a bug in the python importer. 2008-11-30 19:55:59 +01:00
Armin Ronacher b21d71abfd Some tiny search fixes. 2008-09-24 08:39:33 +00:00
Armin Ronacher 6373729f1d Improved search slightly by adding keyword based lookup 2008-09-23 21:21:32 +00:00
Armin Ronacher b69e1a4fe7 Moved searchindex to the bottom to not lock the search page, prepared index for title searching. 2008-09-10 11:26:07 +00:00
Armin Ronacher 3debdc2c2a Improved search system. The search index is now a regular javascript file which should speed things up because browsers can cache it. Removed unused code from doctools.js 2008-09-10 09:11:56 +00:00
Armin Ronacher 7cf390aa9b Fixed an bug with docstring outdenting in the autodoc extension 2008-07-12 00:11:55 +00:00
Armin Ronacher a3db873c47 Fixed docstring dedenting and made the html writer more configurable in the sense that it doesn't change behavior based on the builder name any longer. 2008-07-10 13:59:59 +00:00
Armin Ronacher d2909ee303 Added sympy 2008-07-05 23:35:45 +00:00
Armin Ronacher 1f5735f371 Constructors that are callables but not python functions fail silently now on documentation. 2008-06-27 12:07:30 +00:00
Armin Ronacher bfebbfd6f0 Fixed a syntax error in the builder documentation. 2008-06-26 11:13:44 +00:00
Armin Ronacher 11498d0037 Implemented JSONHTMLBuilder and improved JSON handling (it now prefers json from the 2.6 stdlib or simplejson). 2008-06-26 11:11:20 +00:00
Armin Ronacher 95f7883e94 Refactored pickle builder into a SerializingHTMLBuilder and PickleHTMLBuilder. Subclasses can change the serialization format easily. 2008-06-26 09:40:42 +00:00
Armin Ronacher ba99598c65 Removed last "web" bits from the pickle builder. 2008-06-26 08:22:26 +00:00
Armin Ronacher 1cafce9101 Added support for upcoming "staticmethod" in autodoc 2008-06-23 11:53:44 +00:00
Armin Ronacher 70a54d2264 env is set now to nodes after unpickling. 2008-06-08 18:17:20 +00:00
Armin Ronacher c784212031 fixed bug in autodoc that caused the Jinja documentation to warn under some cases. Before auto* a newline is inserted now so that it's possible to better mix different directives and directives that return new rst code. 2008-05-25 16:03:19 +00:00
Armin Ronacher 6e0c582a7b added support for explicit signatures in callables 2008-05-06 18:07:17 +00:00
Armin Ronacher 72276a2dc2 autodoc detects descriptors properly now 2008-05-02 18:19:54 +00:00
Armin Ronacher aca631b58f documented change 2008-04-28 13:25:01 +00:00
Armin Ronacher 2e96cea026 pygments_style can be an import path now 2008-04-28 13:22:14 +00:00
Armin Ronacher f4a3ee2eaf pygments_style can be a style class now 2008-04-28 12:41:02 +00:00
Armin Ronacher ed68fefabe simplified layout template a bit, working on templating documentation 2008-04-27 14:23:11 +00:00
Armin Ronacher 84c1c0a272 autodoc uses the module charset now 2008-03-23 10:44:22 +00:00