summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates
Commit message (Collapse)AuthorAgeFilesLines
* docwriter/Gjs: include static methods in the enum pageGiovanni Campagna2014-02-261-0/+8
| | | | | Switch enum from a topic to a guide page, and include links to all static methods.
* docwriter/gjs: add support for shadowed function namesGiovanni Campagna2014-02-261-1/+1
| | | | | If a function is shadowed, omit it from the documentation, and if a function shadows, uses the new name.
* doctool/Gjs: some more fixes for structs and unionsGiovanni Campagna2014-02-201-2/+11
| | | | | | | | | | | | | | Stop pretending we have fields on unions (only methods are supported). Add minimal support (ie, don't crash) to nested structures, that due to how ast works have namespace None (and the transformers hard-depend on that). Uncovered by GLib's GDoubleIEEE754, before I removed union fields. For some reason, RegressTestStructE (anonymous union) has a completely different behavior and generates a weird name, while RegressLikeGnomeKeyringSchema (array of unnamed structs) becomes array(gpointer). Bah, one should have methods anyway...
* doctool: improve Gjs documentationGiovanni Campagna2014-02-2023-115/+216
| | | | | | | | | | | | | | | - Add documentation for structures, fields, constants and callbacks - Improve the synopsis for interfaces to have prerequisites and known implementations - Respect gjs constraints for field writability - Format in and out parameters for callables according to GJS conventions - Format property names according to the GJS API - Show boxed constructors according to how they can be used in the gjs API https://bugzilla.gnome.org/show_bug.cgi?id=724735
* doctool: Use format_xref to format some links to pagesJasper St. Pierre2013-02-1511-23/+11
| | | | | | We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later.
* doctool: Make sure to add "new"Jasper St. Pierre2013-02-151-1/+1
|
* doctool: Don't put curly braces around the construct props if there are noneJasper St. Pierre2013-02-151-2/+6
|
* doctool: Don't link to the namespace from the namespace pageJasper St. Pierre2013-02-151-0/+2
|
* doctool: Rename page_style to page_kindJasper St. Pierre2013-02-154-7/+7
|
* doctool: Remove an extra <p> in the signalsJasper St. Pierre2013-02-152-2/+2
|
* doctool: Remove the ctype from the signal return valueJasper St. Pierre2013-02-142-2/+2
| | | | WTF was this here for?
* doctool: Add an link for signal methodsJasper St. Pierre2013-02-142-2/+2
|
* doctool: Fix Gjs class signatureJasper St. Pierre2013-02-141-7/+4
|
* doctool: Gjs doesn't have extra signal parametersJasper St. Pierre2013-02-141-9/+1
|
* doctool: Fix use of <dl> tag in templatesJasper St. Pierre2013-02-149-63/+104
| | | | This isn't legal Mallard
* docwriter: Define a new formatter method for getting paramsJasper St. Pierre2013-02-117-29/+29
| | | | | | | | 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: Don't use zip(range(L))Jasper St. Pierre2013-02-1110-15/+15
| | | | | Instead, remove it entirely (since we don't need the index) or instead use enumerate().
* doctool: Move signal/vfunc templates to extend function.tmplJasper St. Pierre2013-02-013-23/+5
|
* doctool: Update templates to include the actual instance parameterJasper St. Pierre2013-02-013-48/+19
| | | | Rather than fabricating one with a fake name.
* doctool: Switch to UI v1.0Jasper St. Pierre2013-02-013-10/+10
| | | | This is to shut yelp up about experimental UI and expanded.
* doctool: Initial import of a Gjs language that we supportJasper St. Pierre2013-02-0111-0/+157
| | | | Copy/pasted from Python.
* doctool: Use a base template for all node kinds that make senseJasper St. Pierre2013-02-016-109/+61
|
* doctool: Rename templates to exclude mallard/the languageJasper St. Pierre2013-02-0132-24/+24
| | | | | | | | | As templates are in their own directory and segregated into language already, this is sort of repeating the issue. At the same time, always explicitly use relative ("./") or absolute ("/") lookups for templates. We want to eventually have base templates to share between languages, so to do so without namespace clashes makes sense.
* doctool: Use definition lists instead of tablesJasper St. Pierre2013-02-016-68/+40
|
* doctool: Define a standard order of items for all pagesJasper St. Pierre2013-02-0112-34/+44
|
* doctool: Use a base template for all pagesJasper St. Pierre2013-02-0119-237/+101
|
* doctool: Use a standard title for both links and for page titlesJasper St. Pierre2013-02-0118-18/+18
|
* doctool: Switch to a computed page_style for all page templatesJasper St. Pierre2013-02-0122-30/+20
| | | | | This is a quick cleanup before we inherit from a common template for all pages.
* doc: Put documentation templates into their own directoriesJasper St. Pierre2013-01-0918-0/+585
Instead of cluttering up the giscanner directory, put templates into their own files, with each language having its own templates in its own directory for comfort.