diff options
| -rw-r--r-- | docs/antora.yml | 1 | ||||
| -rw-r--r-- | docs/modules/theme/pages/create-theme.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/theme/pages/keys.adoc | 4 | ||||
| -rw-r--r-- | docs/modules/theme/pages/prepare-custom-font.adoc | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/docs/antora.yml b/docs/antora.yml index 396b2f43..e1ac0d95 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -9,7 +9,6 @@ asciidoc: release-line: '2.3.x' url-gem: https://rubygems.org/gems/asciidoctor-pdf url-project-repo: https://github.com/asciidoctor/asciidoctor-pdf - url-repo-root: https://github.com/asciidoctor/asciidoctor-pdf/tree/main url-project-issues: https://github.com/asciidoctor/asciidoctor-pdf/issues url-api-docs: https://www.rubydoc.info/github/asciidoctor/asciidoctor-pdf/Asciidoctor/PDF/Converter url-prawn: https://prawnpdf.org diff --git a/docs/modules/theme/pages/create-theme.adoc b/docs/modules/theme/pages/create-theme.adoc index ba9e2296..4d700665 100644 --- a/docs/modules/theme/pages/create-theme.adoc +++ b/docs/modules/theme/pages/create-theme.adoc @@ -161,7 +161,7 @@ extends: ~ Although no theme keys are set in this case, Asciidoctor PDF will still resort to using fallback values when a theme setting is required. Thus, "`from scratch`" really means mostly from scratch. -If you choose not to extend a theme, you should consult the {url-repo-root}/data/themes/base-theme.yml[base theme] to discover which keys you'll need to set to support the visual hierarchy and styling of core block and inline elements. +If you choose not to extend a theme, you should consult the {url-project-repo}/blob/{page-origin-refname}/data/themes/base-theme.yml[base theme^] to discover which keys you'll need to set to support the visual hierarchy and styling of core block and inline elements. You can also find the location of the [.path]_data/themes_ directory on your local disk by running the following command: $ gem contents asciidoctor-pdf --show-install-dir diff --git a/docs/modules/theme/pages/keys.adoc b/docs/modules/theme/pages/keys.adoc index 320779b6..0595d731 100644 --- a/docs/modules/theme/pages/keys.adoc +++ b/docs/modules/theme/pages/keys.adoc @@ -11,9 +11,9 @@ This nested structure is for organizational purposes only. All keys are flatted when the theme is loaded (e.g., `text-align` nested under `base` becomes `base-text-align`). The converter uses the values of these keys to control how most elements are arranged and styled in the PDF. -The default values listed in this section get inherited from the {url-repo-root}/data/themes/base-theme.yml[base theme^]. +The default values listed in this section get inherited from the {url-project-repo}/blob/{page-origin-refname}/data/themes/base-theme.yml[base theme^]. -IMPORTANT: The {url-repo-root}/data/themes/default-theme.yml[default theme^] has a different set of values which are not shown in this guide. +IMPORTANT: The {url-project-repo}/blob/{page-origin-refname}/data/themes/default-theme.yml[default theme^] has a different set of values which are not shown in this guide. When creating a theme that extends the base theme, all keys are optional. Required keys are provided by the base theme. diff --git a/docs/modules/theme/pages/prepare-custom-font.adoc b/docs/modules/theme/pages/prepare-custom-font.adoc index 6f84a875..7893d295 100644 --- a/docs/modules/theme/pages/prepare-custom-font.adoc +++ b/docs/modules/theme/pages/prepare-custom-font.adoc @@ -109,5 +109,5 @@ Performing all this font modification manually can be tedious (not to mention ha Fortunately, FontForge provides a {url-fontforge-scripting}[scripting interface^], which you can use to automate the process. In fact, that's what we use to prepare the fonts that are bundled with Asciidoctor PDF. -You can find that FontForge script, the Bash script that calls it, and the Docker image in which it is run in the {url-repo-root}/scripts[scripts directory^] of this project. +You can find that FontForge script, the Bash script that calls it, and the Docker image in which it is run in the {url-project-repo}/tree/{page-origin-refname}/scripts[scripts directory^] of this project. You can use that script as a starting point or reference for your own font preparation / modification script. |
