userGuideHtmlCommon.xsl

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update BT docs logos

+review DC-3857

  1. … 3 more files in changeset.
Add metadata about type of documentation for search purposes

  1. … 2 more files in changeset.
Make DSL reference header consistent with user manual

  1. … 1 more file in changeset.
Add disclaimer to newsletter email sign up in docs

  1. … 1 more file in changeset.
Allow Groovy, Kotlin, and Gradle-specific syntax highlighting

This change creates and uses custom xslthl config that allows

Docbook to highlight syntax in a language specific way instead of

just always falling back to java.

Styles for syntax highlighting are adjusted to match IntelliJ

defaults

  1. … 9 more files in changeset.
Update GE nav link text from Enterprise to Try Gradle Enterprise

Polish docs design a little

  1. … 5 more files in changeset.
Relativize footer links to docs so they work locally

Signed-off-by: Eric Wendelin <eric@gradle.com>

Revert changes

Fix broken links to doc pages

  1. … 1 more file in changeset.
Link to user manual home in docs footer

Signed-off-by: Eric Wendelin <eric@gradle.com>

Fix some broken links in docs

Signed-off-by: Eric Wendelin <eric@gradle.com>

  1. … 1 more file in changeset.
Link logo to docs.gradle.org

Issue: gradle/dotorg-docs#107

Signed-off-by: Eric Wendelin <eric@gradle.com>

Improved navigation/layout for DSL reference

Signed-off-by: Eric Wendelin <eric@gradle.com>

  1. … 5 more files in changeset.
Load normal weight Lato from Google fonts

Signed-off-by: Eric Wendelin <eric@gradle.com>

  1. … 2 more files in changeset.
Resolve user guide CSS in 1 request

This combines 4 files into 1. base.css now contains

docs.css and userguide.css as well as inlines the content for the

link icon.

This will allow other requests to load in parallel, thus reducing

the overall page load time significantly.

Display of all pages should be the same, as styles were changed to

be mutually exclusive.

Signed-off-by: Eric Wendelin <eric@gradle.com>

  1. … 7 more files in changeset.
Remove docs auto labeling

Signed-off-by: Eric Wendelin <eric@gradle.com>

Load docs fonts from assets.gradle.com CDN

This significantly improves time to first meaningful paint

according to Google's Lighthouse because:

- WOFF fonts are much smaller than TTF

- Fonts are loaded in parallel to the rest of CSS, instead of

inline. Not only increasing the time to load but also giving

a chance for the browser to layout the DOM in parallel

Google Fonts is blocked in China and makes page loads super slow.

This tells browers to preconnect to assets.gradle.com and

loads fonts from assets.gradle.com as optional, meaning that

browsers should fallback quickly if the font requests or the

network are slow.

Signed-off-by: Eric Wendelin <eric@gradle.com>

  1. … 5 more files in changeset.
Use viewport meta tag in user guide and DSL pages

This simply adds a meta tag alongside other stylesheet declarations

that forces the content width to be the device width.

Revert "Use viewport meta tag in user guide and DSL pages"

This reverts commit 807ecef3f75c7a6bb1162d796bf2f172a137de2e.

Use viewport meta tag in user guide and DSL pages

Users can now comfortably read the user guide and DSL reference on

mobile devices. See:

https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag

Issue: gradle/dotorg-docs#25

Improve user manual section on incremental build. (#688)

* Improve user manual section on incremental build.

This is a rewrite and expansion of the incremental build section of the user

manual. It provides proper coverage of this important topic while introducing

some of the new features in Gradle 3.0.

* Incorporate feedback

* Fix links and typos in user guide

  1. … 37 more files in changeset.
Fine tune anchor generation in user guide.

The 'section-anchor' class was being added to all generated `<a>` elements with

a `name` attribute. This modification to the XSL stylesheet now makes the class

conditional on the underlying element being a `<section>`.

Merge branch 'chapter-tocs-p3' of git://github.com/pledbrook/gradle into pull-request-611

  1. … 1 more file in changeset.
Make the CSS for section header links more robust.

The XSL stylesheet now adds a CSS class to the relevant section header links so

that the styling doesn't conflict with other links inside section headers. It

shouldn't happen, but there's nothing to stop someone putting a `<ulink>` or

similar inside a section title of the DocBook, as I learned when I tried it.

  1. … 1 more file in changeset.
Add TOCs to individual chapters.

The chunked version of the user guide (the one with an HTML page per chapter)

now has a short TOC at the beginning of each chapter containing that chapter's

top level sections.

  1. … 2 more files in changeset.
Add link icon to section headers.

  1. … 1 more file in changeset.
Tweak some userguide chapter organization. Add TOC generation for parts.

+review REVIEW-5684

  1. … 1 more file in changeset.
Improve the styling of parts in the TOC.

  1. … 2 more files in changeset.
use consistent spelling for `customize` throughout docs and codebase

- some minor other spelling improvements along the way

  1. … 71 more files in changeset.