You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/content/conditionals.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
You can use the preprocessor to hide or show certain content based on various conditions. For example, you can have a page used in multiple targets, but omit certain portions from the output in some targets. Or, you can have text and markup that only shows up in HTML mode but not PDF mode or similar rules.
4
4
5
-
You can use any of [the fields available to the preprocessor](https://github.com/ripple/dactyl/#pre-processing) for your conditionals, including [commandline variables](cli-vars.html) and any fields defined in the [frontmatter](with-frontmatter.html).
5
+
You can use any of [the fields available to the preprocessor](https://github.com/ripple/dactyl/#pre-processing) for your conditionals, including [commandline variables](cli-vars.html) and any fields defined in the [frontmatter](frontmatter.html).
Copy file name to clipboardexpand all lines: examples/content/extending/templates.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Many of the built-in templates work better if you set certain fields on your tar
19
19
|`google_analytics_tag`| String tag to use with Google Analytics, e.g. "UA-00000000-0". If not defined, doesn't load Google Analytics. |
20
20
|`repository`| URL to this site's source repository on GitHub. Required for the "Edit on GitHub" button. |
21
21
|`url`| The fully-qualified URL for the base of the site. Required by the sitemap and Google Search templates. |
22
-
|`stylesheet`| URL or path to the default stylesheet. The default includes Bootstrap 4.5 as well as custom CSS for code tabs, callouts, and the page layout. See the [styles dir](./dactyl/styles/) for the source SCSS. The default is served by dactyl.link. |
22
+
|`stylesheet`| URL or path to the default stylesheet. The default includes Bootstrap 4.5 as well as custom CSS for code tabs, callouts, and the page layout. See the [styles dir](https://github.com/ripple/dactyl/tree/master/dactyl/styles) for the source SCSS. The default is served by dactyl.link. |
23
23
|`dactyljs`| URL or path to the Dactyl JavaScript file to use. This defines "jump to top" and code tab behavior. The default is served by dactyl.link. |
24
24
|`bootstrapjs`| URL or path to the Bootstrap JavaScript file to use. The default is served by BootstrapCDN. |
25
25
|`fontawesomecss`| URL or path to FontAwesome (v4) CSS file to use. The default is served by BootstrapCDN. |
@@ -39,7 +39,7 @@ The following built-in templates represent **full pages**, so you can use them w
39
39
|`simple.html`| A minimal template with no dependencies. |
40
40
|`template-sitemap.txt`| A template for a text [sitemap](https://support.google.com/webmasters/answer/183668?hl=en) for use by search engines. |
41
41
42
-
When extending the default templates, you many of them have blocks you can replace. For the full list, see [the templates](./dactyl/templates/) directly.
42
+
When extending the default templates, you many of them have blocks you can replace. For the full list, see [the templates](https://github.com/ripple/dactyl/tree/master/dactyl/templates) directly.
43
43
44
44
45
45
### Module Templates
@@ -97,8 +97,8 @@ Dactyl provides the following information to templates, which you can access wit
|`target`| The [target](#targets) definition of the current target. |
101
-
|`pages`| The [array of page definitions](#pages) in the current target. Use this to generate navigation across pages. (The default templates don't do this, but you should.) |
100
+
|`target`| The [target](config.html#targets) definition of the current target. |
101
+
|`pages`| The [array of page definitions](config.html#pages) in the current target. Use this to generate navigation across pages. (The default templates don't do this, but you should.) |
102
102
|`currentpage`| The definition of the page currently being rendered. |
103
103
|`categories`| A de-duplicated array of categories that are used by at least one page in this target, sorted in the order they first appear. |
Copy file name to clipboardexpand all lines: examples/content/filters/external_links.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,4 +11,4 @@ This filter adds an "external link" icon to [links to outside websites](https://
11
11
12
12
A [link to another page](filters.html) won't have the icon.
13
13
14
-
If you try to combine this filter with the [button links filter >](https://dactyl.link/filter-examples-buttonize.html), make sure **buttonize runs first**. Otherwise, external links will not get styled as buttons when intended.
14
+
If you try to combine this filter with the [button links filter >](https://dactyl.link/buttonize.html), make sure **buttonize runs first**. Otherwise, external links will not get styled as buttons when intended.
Copy file name to clipboardexpand all lines: examples/content/usage/config.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ Each individual page definition can have the following fields:
84
84
| `category` | String | _(Optional)_ The name of a category to group this page into. This is used by Dactyl's built-in templates to organize the table of contents. |
85
85
| `template` | String | _(Optional)_ The filename of a custom [Jinja][] HTML template to use when building this page for HTML, relative to the **template_path** in your config. |
86
86
| `pdf_template` | String | _(Optional)_ The filename of a custom [Jinja][] HTML template to use when building this page for PDF, relative to the **template_path** in your config. |
87
-
| `openapi_md_template_path` | String | _(Optional)_ Path to a folder containing [templates to be used for OpenAPI spec parsing](#openapi-spec-templates). If omitted, use the [built-in templates](dactyl/templates/). |
87
+
| `openapi_md_template_path` | String | _(Optional)_ Path to a folder containing [templates to be used for OpenAPI spec parsing](openapi.html). If omitted, use the [built-in templates](templates.html). |
88
88
| `parent` | String | _(Optional)_ The HTML filename of the page to treat as a parent of this one for purposes of hierarchy. If omitted, treat the page as a "top-level" page. |
89
89
| ... | (Various) | Additional arbitrary key-value pairs as desired. These values can be used by templates or pre-processing. |
Copy file name to clipboardexpand all lines: examples/content/usage/usage.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ By default, Dactyl looks for a config file named `dactyl-config.yml` in the curr
42
42
$ dactyl_build -c path/to/alt-config.yml
43
43
```
44
44
45
-
For more information on configuration, see the `default-config.yml` and the [examples](examples/) folder.
45
+
For more information on configuration, see [Configuration](config.html) and the [examples](https://github.com/ripple/dactyl/tree/master/examples) folder.
Copy file name to clipboardexpand all lines: releasenotes.md
+6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
# v0.15.1 Release Notes
2
+
3
+
This release fixes a bug that made "watch mode" and PDF builds not work on Windows because it assumed that `python3 -m http.server` would launch the simple Python HTTP server on those systems. The updated version should automatically detect the system's Python executable on all platforms.
4
+
5
+
This release also fixes some broken links in the updated documentation.
6
+
1
7
# v0.15.0 Release Notes
2
8
3
9
This release improves OpenAPI spec parsing, adds a new formula for picking default filenames, overhauls Dactyl's own documentation, and fixes the following minor bugs:
0 commit comments