diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-10-18 15:08:10 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-10-18 15:12:54 -0600 |
| commit | 87be17209d5b443882cc1b1a8ea590db651c8058 (patch) | |
| tree | cc963175b7b366d748241370551f061b7cef37af /docs/modules | |
| parent | 45525906421d99b11d8dde4209dafd28c800a543 (diff) | |
rename default branch
Diffstat (limited to 'docs/modules')
| -rw-r--r-- | docs/modules/ROOT/pages/localization-support.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/api/pages/set-safe-mode.adoc | 6 | ||||
| -rw-r--r-- | docs/modules/syntax-highlighting/pages/custom.adoc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/modules/ROOT/pages/localization-support.adoc b/docs/modules/ROOT/pages/localization-support.adoc index 87a81cf7..c11f582a 100644 --- a/docs/modules/ROOT/pages/localization-support.adoc +++ b/docs/modules/ROOT/pages/localization-support.adoc @@ -1,7 +1,7 @@ = Localization Support :keywords: translations, labels, l10n, internationalization, i18n :url-docbook-i8n: http://www.sagehill.net/docbookxsl/Localizations.html -:url-lang-attributes: {url-org}/asciidoctor/blob/master/data/locale/attributes.adoc +:url-lang-attributes: {url-org}/asciidoctor/blob/{page-origin-refname}/data/locale/attributes.adoc Asciidoctor is not restricted to working with English-only content. Asciidoctor can process the full range of the UTF-8 character set. diff --git a/docs/modules/api/pages/set-safe-mode.adoc b/docs/modules/api/pages/set-safe-mode.adoc index eca166a3..5548f24c 100644 --- a/docs/modules/api/pages/set-safe-mode.adoc +++ b/docs/modules/api/pages/set-safe-mode.adoc @@ -8,14 +8,14 @@ You can change the safe mode using a string, symbol or integer value. The value must be set in the document constructor using the `:safe` option. - result = Asciidoctor.convert_file('master.adoc', safe: 'server') + result = Asciidoctor.convert_file 'doc.adoc', safe: 'server' or - result = Asciidoctor.convert_file('master.adoc', safe: :server) + result = Asciidoctor.convert_file 'doc.adoc', safe: :server or - result = Asciidoctor.convert_file('master.adoc', safe: 10) + result = Asciidoctor.convert_file 'doc.adoc', safe: 10 You can also set the xref:cli:set-safe-mode.adoc[safe mode from the CLI] and xref:ROOT:reference-safe-mode.adoc[enable or disable content based on the current safe mode]. diff --git a/docs/modules/syntax-highlighting/pages/custom.adoc b/docs/modules/syntax-highlighting/pages/custom.adoc index 6f3403e0..141804cb 100644 --- a/docs/modules/syntax-highlighting/pages/custom.adoc +++ b/docs/modules/syntax-highlighting/pages/custom.adoc @@ -62,4 +62,4 @@ You can do so by overriding the `highlight` method, setting the `:number_lines` include::example$always-number-lines.rb[] ---- -To study the logic you may be interesting in overridding, browse the code for the https://github.com/asciidoctor/asciidoctor/tree/master/lib/asciidoctor/syntax_highlighter[built-in syntax highlighter adapters]. +To study the logic you may be interesting in overridding, browse the code for the https://github.com/asciidoctor/asciidoctor/tree/{page-origin-refname}/lib/asciidoctor/syntax_highlighter[built-in syntax highlighter adapters]. |
