From: Remington Steed Date: Thu, 24 Oct 2019 13:48:53 +0000 (-0400) Subject: LP#1848524: Docs: Convert normal includes to Antora "partials" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=97b8a961f85d66df619f1f13f92d8126e3efb969;p=working%2FEvergreen.git LP#1848524: Docs: Convert normal includes to Antora "partials" Antora treats all includes as either "partials" or "examples". This case seems like "partials", since "examples" seems to be meant for code snippets. Signed-off-by: Remington Steed Signed-off-by: Galen Charlton --- diff --git a/docs-antora/modules/admin/pages/turn-off-print-headers-chrome.adoc b/docs-antora/modules/admin/pages/turn-off-print-headers-chrome.adoc deleted file mode 100644 index 7e5d9b584c..0000000000 --- a/docs-antora/modules/admin/pages/turn-off-print-headers-chrome.adoc +++ /dev/null @@ -1,17 +0,0 @@ -Turning off print headers and footers in Chrome -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -indexterm:[printing,headers] -indexterm:[printing,footers] - -If you are not using Hatch for printing, you will probably want to configure -your browser so that Chrome does not add headers and footers to items printed -on certain printers. For example, if you are printing spine labels, you likely -will not want Chrome to add a date or URL to the margins of your label. - -You can turn off these headers and footers using the following steps: - -. In the Chrome menu, click _Print..._ to open the print preview screen. -. Click _More Settings_. -. Uncheck _Headers and Footers_. - diff --git a/docs-antora/modules/admin/pages/turn-off-print-headers-firefox.adoc b/docs-antora/modules/admin/pages/turn-off-print-headers-firefox.adoc deleted file mode 100644 index 9c13bfe8a7..0000000000 --- a/docs-antora/modules/admin/pages/turn-off-print-headers-firefox.adoc +++ /dev/null @@ -1,31 +0,0 @@ -Turning off print headers and footers in Firefox -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -indexterm:[printing,headers] -indexterm:[printing,footers] - -If you are not using Hatch for printing, you will probably want to configure -your browser so that Firefox does not add headers and footers to items printed -on certain printers. For example, if you are printing spine labels, you likely -will not want Firefox to add a date or URL to the margins of your label. - -You can turn off these headers and footers using the following steps: - -. In the Firefox menu, click _Print..._ to open the print preview screen. -. Click the _Page Setup..._ button. -. Go to the _Margins & Header/Footer_ tab. -. Make sure that all dropdown menus are set to _--blank--_. - -If you only want to turn off those headers and footers for a specific -printer, use these steps: - -. In the Firefox address bar, type link:about:config[]. -. If a warning appears, click _I accept the risk_. -. Type _print_header_ into this screen's search box. -. Double-click on the relevant _print_headerleft_, _print_headerright_, and -_print_headercenter_ entries in the grid. -. Delete any existing data for that setting and click OK. -. Type _print_footer_ into the screen's search box and repeat these steps -for the footer settings. - - diff --git a/docs-antora/modules/admin/pages/web-client-browser-best-practices.adoc b/docs-antora/modules/admin/pages/web-client-browser-best-practices.adoc index baee6c8922..9b8dae89b9 100644 --- a/docs-antora/modules/admin/pages/web-client-browser-best-practices.adoc +++ b/docs-antora/modules/admin/pages/web-client-browser-best-practices.adoc @@ -36,9 +36,9 @@ Setting the Web Client as the Home Page in Firefox . In the _When Firefox starts:_ dropdown menu, select _Show my home page_. . In the _Home Page_ box, add _https://localhost/eg/staff/_ and click *OK*. -include::turn-off-print-headers-firefox.adoc[] +include::partial$turn-off-print-headers-firefox.adoc[] -include::turn-off-print-headers-chrome.adoc[] +include::partial$turn-off-print-headers-chrome.adoc[] Tab Buttons and Keyboard Shortcuts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs-antora/modules/admin/partials/turn-off-print-headers-chrome.adoc b/docs-antora/modules/admin/partials/turn-off-print-headers-chrome.adoc new file mode 100644 index 0000000000..7e5d9b584c --- /dev/null +++ b/docs-antora/modules/admin/partials/turn-off-print-headers-chrome.adoc @@ -0,0 +1,17 @@ +Turning off print headers and footers in Chrome +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +indexterm:[printing,headers] +indexterm:[printing,footers] + +If you are not using Hatch for printing, you will probably want to configure +your browser so that Chrome does not add headers and footers to items printed +on certain printers. For example, if you are printing spine labels, you likely +will not want Chrome to add a date or URL to the margins of your label. + +You can turn off these headers and footers using the following steps: + +. In the Chrome menu, click _Print..._ to open the print preview screen. +. Click _More Settings_. +. Uncheck _Headers and Footers_. + diff --git a/docs-antora/modules/admin/partials/turn-off-print-headers-firefox.adoc b/docs-antora/modules/admin/partials/turn-off-print-headers-firefox.adoc new file mode 100644 index 0000000000..9c13bfe8a7 --- /dev/null +++ b/docs-antora/modules/admin/partials/turn-off-print-headers-firefox.adoc @@ -0,0 +1,31 @@ +Turning off print headers and footers in Firefox +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +indexterm:[printing,headers] +indexterm:[printing,footers] + +If you are not using Hatch for printing, you will probably want to configure +your browser so that Firefox does not add headers and footers to items printed +on certain printers. For example, if you are printing spine labels, you likely +will not want Firefox to add a date or URL to the margins of your label. + +You can turn off these headers and footers using the following steps: + +. In the Firefox menu, click _Print..._ to open the print preview screen. +. Click the _Page Setup..._ button. +. Go to the _Margins & Header/Footer_ tab. +. Make sure that all dropdown menus are set to _--blank--_. + +If you only want to turn off those headers and footers for a specific +printer, use these steps: + +. In the Firefox address bar, type link:about:config[]. +. If a warning appears, click _I accept the risk_. +. Type _print_header_ into this screen's search box. +. Double-click on the relevant _print_headerleft_, _print_headerright_, and +_print_headercenter_ entries in the grid. +. Delete any existing data for that setting and click OK. +. Type _print_footer_ into the screen's search box and repeat these steps +for the footer settings. + +