diff options
| author | Guillaume Grossetie <ggrossetie@gmail.com> | 2022-08-22 20:47:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-22 12:47:27 -0600 |
| commit | d72fe54346aa6963ae835f48681fa1ed917fb3fe (patch) | |
| tree | 4896c6906efb3ee81aebde948580dd46767eb7c4 /docs/modules/html-backend/pages | |
| parent | 81e3e772f1294f85a5be7d34d06e132494c44e5b (diff) | |
proofread documentation (PR #4336)
Diffstat (limited to 'docs/modules/html-backend/pages')
| -rw-r--r-- | docs/modules/html-backend/pages/custom-stylesheet.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/html-backend/pages/custom-stylesheet.adoc b/docs/modules/html-backend/pages/custom-stylesheet.adoc index 6bb57137..37f6ea14 100644 --- a/docs/modules/html-backend/pages/custom-stylesheet.adoc +++ b/docs/modules/html-backend/pages/custom-stylesheet.adoc @@ -100,7 +100,7 @@ Let's look at those problem and ways to work through them. [#stylesdir-and-linkcss] == Styles directory and linkcss -Using `stylesdir` gets tricky when your linking to the stylesheet instead of embedding it. +Using `stylesdir` gets tricky when you're linking to the stylesheet instead of embedding it. That's because we're now dealing with two different paths. One is the path where the stylesheet is located on disk (either absolute or relative to the document). The other is the path the browser uses to access the stylesheet. @@ -196,5 +196,5 @@ For [.path]_c.adoc_, set `stylesdir` to: :stylesdir: ../my-styles ---- -If you're serving your documents from a webserver, you can solve this problem by providing an absolute path to the stylesheet. +If you're serving your documents from a web server, you can solve this problem by providing an absolute path to the stylesheet. You can also try to use the `copycss` per document to control where Asciidoctor looks for the stylesheet independent of where Asciidoctor copies it and the converter configured the HTML to reference it. |
