Skip to content

Commit

Permalink
Fix broken links (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukimik authored May 27, 2023
1 parent e8a3291 commit 24ff95d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Here is an assorted collection of websites generated by Emanote, sorted alphabet

* https://chenghaomou.github.io/ (view [source](https://github.com/ChenghaoMou/chenghaomou.github.io))
* https://coda-coda.github.io/zettels/ (view [source](https://github.com/coda-coda/zettels))
* https://ema.srid.ca (view [source](https://github.com/srid/emanote/tree/master/docs))
* https://ema.srid.ca (view [source](https://github.com/srid/ema/tree/master/docs))
* https://gil0mendes.io/ (view [source](https://gitlab.com/gil0mendes/website))
* https://input-output-hk.github.io/adrestia/ (view [source](https://github.com/input-output-hk/adrestia/tree/master/docs))
* https://input-output-hk.github.io/cardano-wallet/ (view [source](https://github.com/input-output-hk/cardano-wallet/tree/master/docs))
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/html-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The default HTML templates are stored in the [[layer|default layer]], which can

## Layouts

Emanote includes two builtin layouts, called `book` (the default) and [[neuron-layout|`note`]], but you can also write your own HTML layout from scratch, as long as you specify that template in [[yaml-config]] for the notes in question. For eg., [`templates/home.tpl`](https://github.com/srid/srid/blob/master/content/templates/home.tpl) is how https://srid.ca homepage is generated, because its [`index.md`](https://raw.githubusercontent.com/srid/srid/master/content/index.md) specifies this template as `template.name` in its YAML frontmatter (which could also be `index.yaml`).
Emanote includes two builtin layouts, called `book` (the default) and [[neuron-layout|`note`]], but you can also write your own HTML layout from scratch, as long as you specify that template in [[yaml-config]] for the notes in question. For eg., [`templates/home.tpl`](https://github.com/srid/srid/blob/master/content/templates/home.tpl) is how https://srid.ca homepage is generated, because its [`index.md`](https://raw.githubusercontent.com/srid/srid/master/index.md) specifies this template as `template.name` in its YAML frontmatter (which could also be `index.yaml`).

## Features

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/html-template/external-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Note that the attribute can also be used to display the icons in the [[html-temp

## URL properties

The displayed icon may depend on the link properties (e.g. the actual URI scheme). This is [[custom-style|customized using CSS]]. By default, Emanote displays a different icon if the URI scheme component is `mailto:`. Check the <https://github.com/srid/emanote/blob/master/default/templates/base.tpl> of [[html-template|HTML template]] for details.
The displayed icon may depend on the link properties (e.g. the actual URI scheme). This is [[custom-style|customized using CSS]]. By default, Emanote displays a different icon if the URI scheme component is `mailto:`. Check the <https://github.com/srid/emanote/tree/master/emanote/default/templates/base.tpl> of [[html-template|HTML template]] for details.

## Demo

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Emanote's layer system allows you to "merge" multiple notebooks and treat them a

## "Default" layer

Emanote *implicitly* includes what is known as the "default" layer. Its contents can be seen [here](https://github.com/srid/emanote/tree/master/default). This layer contains [[html-template]], [[yaml-config|index.yaml]] and other default assets, like the logo, favicon and fonts. When you run `emanote -L /your/notebook run`, your notebook is overlaid *on top of* this default layer. What this means, in effect, is that you override **just about any file** in the default layer, such the HTML content of [[html-template]], in your own notebook directory. As an example, see [`template/hooks`](https://github.com/srid/emanote/tree/master/docs/templates/hooks) of this documentation notbook.
Emanote *implicitly* includes what is known as the "default" layer. Its contents can be seen [here](https://github.com/srid/emanote/tree/master/emanote/default). This layer contains [[html-template]], [[yaml-config|index.yaml]] and other default assets, like the logo, favicon and fonts. When you run `emanote -L /your/notebook run`, your notebook is overlaid *on top of* this default layer. What this means, in effect, is that you override **just about any file** in the default layer, such the HTML content of [[html-template]], in your own notebook directory. As an example, see [`template/hooks`](https://github.com/srid/emanote/tree/master/docs/templates/hooks) of this documentation notbook.

## Merge semantics

Expand Down
2 changes: 1 addition & 1 deletion docs/tips/js.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# JavaScript behaviours

Improve your Emanote website using custom JavaScript code. Emanote provides some predefined behaviours, like syntax highlighting or rendering of mathematical formulas. They can be accessed by including appropriate snippets in `page.headHtml` or `page.bodyHtml` of [[yaml-config|YAML configuration files]] (if adding to all or multiple routes) or Markdown frontmatter (if adding to a single route). The source code for the snippets can be found in the default [`index.yaml`](https://github.com/srid/emanote/blob/master/default/index.yaml) under the `js:` YAML map.
Improve your Emanote website using custom JavaScript code. Emanote provides some predefined behaviours, like syntax highlighting or rendering of mathematical formulas. They can be accessed by including appropriate snippets in `page.headHtml` or `page.bodyHtml` of [[yaml-config|YAML configuration files]] (if adding to all or multiple routes) or Markdown frontmatter (if adding to a single route). The source code for the snippets can be found in the default [`index.yaml`](https://github.com/srid/emanote/blob/master/emanote/default/index.yaml) under the `js:` YAML map.

```query
path:./*
Expand Down
2 changes: 1 addition & 1 deletion docs/tips/js/syntax-highlighting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ page:
</with>
```
(The `highlightjs-ver` variable comes from the default [`index.yaml`](https://github.com/srid/emanote/blob/master/default/index.yaml).)
(The `highlightjs-ver` variable comes from the default [`index.yaml`](https://github.com/srid/emanote/blob/master/emanote/default/index.yaml).)

## Example (highlight.js)

Expand Down

0 comments on commit 24ff95d

Please sign in to comment.