Skip to content

Commit

Permalink
chore: support relative urls in not index.md docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daKmoR authored and LarsDenBakker committed Aug 11, 2020
1 parent 58b512c commit c88b6ce
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/docs/dev-server/plugins/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ eleventyNavigation:

Common examples using plugins.

Generally speaking, the two most important plugins are [esbuild](../esbuild.md) and [rollup](../rollup.md). Esbuild can be used for fast transformations, while rollup has a rich plugin ecosystem we can use.
Generally speaking, the two most important plugins are [esbuild](./esbuild.md) and [rollup](./rollup.md). Esbuild can be used for fast transformations, while rollup has a rich plugin ecosystem we can use.

Some of the examples require you to write your own plugin. The examples are straight forward, but you can check the [writing plugins section](../writing-plugins.md) for a more detailed explanation.
Some of the examples require you to write your own plugin. The examples are straight forward, but you can check the [writing plugins section](./writing-plugins.md) for a more detailed explanation.

## Typescript

Expand All @@ -24,7 +24,7 @@ Check the [official typescript docs](https://www.typescriptlang.org/) to set up

### esbuild

The dev server can also transform TS on the fly using `esbuild.` It is the fastest approach, introducing only a few milliseconds overhead. Check the [esbuild plugin docs](../esbuild.md) to learn more about how to set it up.
The dev server can also transform TS on the fly using `esbuild.` It is the fastest approach, introducing only a few milliseconds overhead. Check the [esbuild plugin docs](./esbuild.md) to learn more about how to set it up.

## Other module formats

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"update-package-configs": "ts-node scripts/update-package-configs.ts"
},
"dependencies": {
"@d4kmor/cli": "^0.1.14",
"@d4kmor/cli": "^0.1.15",
"@d4kmor/launch": "^0.1.16",
"patch-package": "^6.2.2"
},
Expand Down
34 changes: 29 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,26 @@
rollup-plugin-visualizer "^4.0.4"
rollup-plugin-workbox "^5.0.1"

"@d4kmor/cli@^0.1.15":
version "0.1.15"
resolved "https://registry.yarnpkg.com/@d4kmor/cli/-/cli-0.1.15.tgz#ddfd1c270a40e6dd0fa5316a3db71272696af0ae"
integrity sha512-oUZMNvv1Am40hzBSsz9RNdH7AlwKaqbJErcnZwj+gyO7bgUc6xya/VfWQaV6WuDFpvNq4jp7p6TVbXan4Sg58Q==
dependencies:
"@11ty/eleventy" "^0.11.0"
"@d4kmor/eleventy-plugin-mdjs" "^0.1.3"
"@d4kmor/eleventy-rocket-nav" "^0.1.3"
"@d4kmor/navigation" "^0.1.1"
"@open-wc/building-rollup" "^1.7.0"
command-line-args "^5.1.1"
command-line-usage "^6.1.0"
deepmerge "^4.2.2"
es-dev-server "^1.57.2"
glob "^7.1.6"
rollup "^2.16.0"
rollup-plugin-clear "^2.0.7"
rollup-plugin-visualizer "^4.0.4"
rollup-plugin-workbox "^5.0.1"

"@d4kmor/drawer@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@d4kmor/drawer/-/drawer-0.1.0.tgz#2df63a7d6b18097eca45a240f76cccbf9cdbc439"
Expand All @@ -1182,6 +1202,15 @@
remark-footnotes "^1.0.0"
unist-util-visit "^2.0.3"

"@d4kmor/eleventy-plugin-mdjs@^0.1.3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@d4kmor/eleventy-plugin-mdjs/-/eleventy-plugin-mdjs-0.1.3.tgz#1e701dbdfeb452e1ab9361a6bd71826971a3e174"
integrity sha512-uQBiPMZ4KfVx09EarKzP7P+2e0AP9VmsLzgWeSEy8po+lv+lAM4H72JJwpTP0TYxod0XekBicabAtnHtjCfsVA==
dependencies:
"@mdjs/core" "^0.3.2"
remark-footnotes "^1.0.0"
unist-util-visit "^2.0.3"

"@d4kmor/eleventy-rocket-nav@^0.1.3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@d4kmor/eleventy-rocket-nav/-/eleventy-rocket-nav-0.1.3.tgz#680aacb724f52154f0725ec96a5e9d659593ae0e"
Expand Down Expand Up @@ -2210,11 +2239,6 @@
dependencies:
eslint-visitor-keys "^1.1.0"

"@web/test-runner-helpers@^0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@web/test-runner-helpers/-/test-runner-helpers-0.0.1.tgz#af480210d4c301b3c5150d5d35e2a7dc32bff682"
integrity sha512-rU9USa8w9CnGydWk1aWLMNPPJFLr/wVgHib6dg52VKmoQGtBKellzMWyUrBbdhaUk6pwpLLjAcmzIBRa81eMgA==

"@webcomponents/shadycss@^1.9.4":
version "1.10.1"
resolved "https://registry.yarnpkg.com/@webcomponents/shadycss/-/shadycss-1.10.1.tgz#6f377b313c96a93a690f25206b32a20eada4b2a9"
Expand Down

0 comments on commit c88b6ce

Please sign in to comment.