summaryrefslogtreecommitdiff
path: root/giscanner/docwriter.py
Commit message (Collapse)AuthorAgeFilesLines
* xxxwip/docsJasper St. Pierre2014-02-121-124/+8
|
* doctool: Add constants to the namespaceJasper St. Pierre2014-02-121-0/+58
| | | | | This is an initial test before we port over to docbook to see if we can build a new structure for how the pages should act.
* giscanner: Create AST nodes for SECTION: doc blocks; add a GIR nodeJasper St. Pierre2014-02-121-0/+2
| | | | | These will eventually be paired with the sections file parser to create a set of sections.
* docwriter: Don't render private nodesJasper St. Pierre2014-01-311-0/+3
| | | | | This prevents fields like __gtk_reserved1 from being emitted in the documentation.
* tests: Update misc/pep8.py to 1.4.5Dieter Verfaillie2013-05-071-7/+16
| | | | | | | | | | | | | | | | | Version in our tree is a wee bit outdated. For example, later work will introduce an utf8 encoded python source file which our old pep8.py does not yet understand (yeah, it really was *that* ancient)... Updated from: https://raw.github.com/jcrocholl/pep8/1.4.5/pep8.py Takes 552c1f1525e37a30376790151c1ba437776682c5, f941537d1c0a40f0906490ed160db6c79af572d3, 5a4afe2a77d0ff7d9fea13dd93c3304a6ca993de and a17f157e19bd6792c00321c8020dca5e5a281f45 into account... https://bugzilla.gnome.org/show_bug.cgi?id=699535
* giscanner: remove unused variables and importsDieter Verfaillie2013-04-091-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697615
* doctool: Use builtin namespace walkerColin Walters2013-02-261-22/+31
| | | | | | Rather than hand-rolling our own. This ensures we traverse all nodes. https://bugzilla.gnome.org/show_bug.cgi?id=694593
* docwriter: Use the fully-qualified name for functions and methodsJasper St. Pierre2013-02-151-3/+3
|
* docwriter: Add support for adding additional attrs to the xref writerJasper St. Pierre2013-02-151-3/+4
|
* docwriter: Clean up make_page_idJasper St. Pierre2013-02-151-21/+8
| | | | Make it use a simple recursive technique similar to format_page_name.
* ast: Rename Class.parent to parent_typeJasper St. Pierre2013-02-151-2/+2
| | | | | | | | | The eventual model I want to have is that .parent is the "container" of the node. In all the cases where we don't explicitly set the parent, this is the namespace, but having this under one field name would be a big cleanup for the docwriter. https://bugzilla.gnome.org/show_bug.cgi?id=693876
* doctool: Rename page_style to page_kindJasper St. Pierre2013-02-151-3/+3
|
* docmain: Create the output dir for us if it doesn't existJasper St. Pierre2013-02-151-0/+6
|
* docwriter: Don't render constants for nowJasper St. Pierre2013-02-151-1/+4
| | | | | | Clutter has thousands of keysym constants, and until we get them all on one page, this is just tons of tiny files that are just noise.
* docwriter: Skip non-introspectable nodes in introspectable languagesJasper St. Pierre2013-02-141-0/+3
|
* docwriter: Introduce a base formatter for introspectable languagesJasper St. Pierre2013-02-141-12/+10
| | | | | | Introspectable languages share a non-zero set of base semantics, so it will become easier to implement these shared semantics here, rather than copy-paste code.
* docwriter: Format list types as if they are arraysJasper St. Pierre2013-02-141-2/+2
| | | | Language bindings don't actually care
* docwriter: Support formatting of types without c:typesJasper St. Pierre2013-02-111-1/+4
| | | | This can happen for properties/signals.
* docwriter: Support varargs in parameter namesJasper St. Pierre2013-02-111-1/+6
|
* docwriter: Skip lots of special kinds of parametersJasper St. Pierre2013-02-111-1/+16
| | | | Gjs ignores all of these when constructing function signatures.
* docwriter: Define a new formatter method for getting paramsJasper St. Pierre2013-02-111-0/+12
| | | | | | | | This will let us gracefully skip over parameters that aren't exposed by specific language bindings. It also fixes a bug in the C/Python documentation where we weren't iterating over the right parameters.
* doctool: Rebrand mallardwriter as docwriterJasper St. Pierre2013-02-011-0/+593
We eventually want to stop using Mallard as a documentation language. Rationale incoming when I convert all templates back to DocBook.