summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix dependency namesCorey Berla2023-01-135-9/+11
| | | | | | | | Dependency names need to match the namespace name exactly (including capitalization) otherwise they won't be shown as dependencies. Related libraries which are not dependencies should use the related key.
* docs: Don't install in doc/pango/reference folderVanadiae2022-02-241-1/+1
| | | | | | | | | | | | | | | | Currently Devhelp (and hence Builder) cannot find the pango documentation, which means that all pango classes/enums links from GTK open the online version of the pango docs instead of using the local one. This is because pango installs its documentation in a subfolder under $datadir/doc/pango/reference instead of $datadir/doc/pango*/ where devhelp would be able to detect the pango*.devhelp2 file and hence show the pango docs. I assume the reason to put those docs in a subfolder is to keep the pango docs "tidy" since there can be 6 of them. But not having them available in devhelp makes the whole point of having docs installed moot, and as such I believe the inconvenient of having 6 different Pango* documentation in the devhelp list are less important than being able to actually use the offline installed documentation. Hence this commit changes the docs install directory to $datadir/doc.
* docs: Don't build pangoot bits if not enableddoc-no-pangootChun-wei Fan2021-12-171-23/+23
| | | | | PangoOT is actually a part of PangoFT2, so don't attempt to build its docs if FontConfig is not found.
* docs: Add a missing imageMatthias Clasen2021-12-101-0/+1
|
* Document new variant valuesMatthias Clasen2021-12-101-1/+3
|
* docs: Various improvementsMatthias Clasen2021-12-107-6/+31
| | | | Add a urlmap file, and fix the license tags.
* docs: Small additionMatthias Clasen2021-11-101-3/+3
| | | | Mention new attribute values in markup docs.
* Add docs for new attributesMatthias Clasen2021-09-016-0/+754
|
* doc: Update pango_glyph_string_index_to_xMatthias Clasen2021-08-265-0/+122
| | | | | | What the docs were saying is no longer strictly true, now that we are using font metrics. Update them, and add an illustration.
* Tweak the drawingMatthias Clasen2021-08-263-59/+53
| | | | | Since the text is talking about zero-width rectangles, show one of those, instead of a sloped caret.
* docs: Add another illustrationMatthias Clasen2021-08-265-0/+132
| | | | Show cursor positions.
* Add segmentation attributesbreak-tailoringMatthias Clasen2021-08-251-0/+6
| | | | | | | Add attributes that let us override word and sentence boundaries (and, indirectly, line breaks). Tests included.
* Add an illustration for caret metricscaret-slopeMatthias Clasen2021-08-245-0/+539
|
* docs: Update some linkslog-attr-thingsMatthias Clasen2021-08-231-4/+5
| | | | We have added new APIs breaking and shaping, link to them.
* docs: Add another illustrationdoc-font-metricsMatthias Clasen2021-08-225-1/+1390
| | | | Show font metrics.
* markup: Add a text transform attributeMatthias Clasen2021-08-201-0/+5
| | | | | | Add a PangoTextTransform enum, a PangoAttribute to set it on runs of text, and support for parsing it out of markup.
* docs: Add an example for split cursorsMatthias Clasen2021-08-095-0/+5
| | | | | | | Show how weak and strong cursors look in practice. Fixes: #77
* docs: Add one more dark mode imageMatthias Clasen2021-08-084-2/+4
|
* Add line-height attributesMatthias Clasen2021-08-081-0/+6
| | | | | | | | | | | | Add attributes for line-height, in a relative and absolute variant. This will be used to grow the logical extents of runs in a way that is compatible with CSS semantics. In markup, we support a new line_height attribute that will be interpreted as absolute if it is an integer > 1024, and as a relative factor otherwise.
* docs: Cosmetic fixeslayout-docsMatthias Clasen2021-08-082-12/+13
|
* docs: Add some more imagesMatthias Clasen2021-08-089-0/+22
| | | | Add a visual example of bidi reordering.
* docs: Add a dark mode variant of some imagesMatthias Clasen2021-08-089-6/+16
|
* docs: Improve image placementMatthias Clasen2021-08-081-5/+4
| | | | Move the vertical text example up, in the bidi docs.
* docs: Fix up deps for imagesMatthias Clasen2021-08-081-0/+13
| | | | We have two lists to keep in sync :(
* docs: More detailsMatthias Clasen2021-08-087-0/+8
| | | | Add some visualizations of gravity.
* docs: Add more detailsMatthias Clasen2021-08-087-1/+7
| | | | | Add some visualization of alignment and justification to the PangoLayout docs.
* markup: Allow specifying size as percentagemarkup-sizesMatthias Clasen2021-08-081-2/+4
| | | | | | | Accept values like 200%, in addition to other ways of specifying sizes in markup. Fixes: #23
* markup: Allow pt for rise tooMatthias Clasen2021-08-081-2/+3
|
* markup: Allow specifying size in ptMatthias Clasen2021-08-081-5/+7
| | | | | | | | Accept values like 12.5pt, in addition to the other ways of specifying font size in markup. Fixes: #67
* docs: Update branch references to mainMatthias Clasen2021-07-176-6/+6
| | | | | | | Change the source locations in the gi-docgen files to point to main instead of master. This is part of #579
* docs: Link syntax fixesdocs-link-fixesMatthias Clasen2021-05-252-3/+3
| | | | | Now that gi-docgen warns about link syntax errors, we can find and fix them.
* docs: Add missing attributes in markup docsmarkup-docsMatthias Clasen2021-03-311-0/+20
| | | | | | Some of the more recent additions did never make it into the docs, such as overline, insert_hyphens and allow_breaks.
* Add some markup examplesmarkup-examplesMatthias Clasen2021-03-244-1/+14
| | | | A little color doesn't hurt.
* build: Install documentationinstall-docsEmmanuele Bassi2021-03-121-0/+14
| | | | We are building it, but never installing it on the system.
* docs: Add variants of the Pango logoMatthias Clasen2021-03-114-0/+0
| | | | | | | Add white-on-transparent and black-on-transparent variants of this png. For now, make white-on-transparent the one we use. If somebody wants to make this work in dark mode, we need to tweak the templates.
* docs: Add search and fix crosslinksMatthias Clasen2021-03-116-10/+22
|
* Fix various broken linksMatthias Clasen2021-03-112-3/+3
| | | | All these were pointed out by gi-docgen warnings.
* docs: Convert xft section to pango_xft.mdMatthias Clasen2021-03-112-0/+29
|
* Tell gi-docgen to produce index summariesMatthias Clasen2021-03-116-0/+6
|
* docs: Convert the pangocairo section to pango_cairo.mdMatthias Clasen2021-03-113-0/+133
|
* docs: Convert bidi and vertical sections to pango_bidi.mdMatthias Clasen2021-03-113-0/+60
|
* docs: Convert fonts section to pango_fonts.mdMatthias Clasen2021-03-113-0/+67
|
* docs: Convert markup and attributes docs to pango_markup.mdMatthias Clasen2021-03-114-301/+186
|
* docs: Convert rendering section to pango_rendering.mdMatthias Clasen2021-03-113-0/+39
|
* Remove remnants of gtk-docMatthias Clasen2021-03-117-1519/+0
|
* Generate Pango API docs with gi-docgenMatthias Clasen2021-03-118-85/+146
| | | | | | | | | | | | | | | | | | | Stop using gtk-doc, and switch to gi-docgen. The gi-docgen tool generates API references through the introspection data, which has various benefits: - it does not parse C code - it does not generate and run C code to introspect types at build time - it does not present a different API from the one we're exporting Additionally, gi-docgen: - does not generate DocBook XML in order to generate HTML - does not go through xsltproc - parses proper Markdown Which makes it markedly faster than gtk-doc has ever been.
* Add configuration for gi-docgenMatthias Clasen2021-03-116-0/+225
| | | | | Add the toml files that will be used to generate docs, one for each gir file.
* docs: Add pango logoMatthias Clasen2021-03-111-0/+0
| | | | This will be used in the future.
* docs: Move PangoRenderer docs to the right fileMatthias Clasen2021-03-112-2/+2
|
* docs: Make context section ids matchMatthias Clasen2021-03-112-8/+8
| | | | | Doing this makes g-ir-scanner pick up the long description, which is more useful than the struct docs.