Skip to content

Commit 135409d

Browse files
Matthieu Coudronteto
authored andcommitted
fix: permalink changes the output folder
thus nullifying my intention of putting the files in a different directory so that neovim/doc can crawl that directory: I 've tested locally and canonical_url seems like what I wanted in the first place
1 parent 8cf7ce7 commit 135409d

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

doc2/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
This folder is destined to be crawled by https://github.com/neovim/doc/ and not
22
served directly.
3+
You must set the `canonical_url: doc/XXXX` to the front matter.

doc2/general.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: Documentation
4-
permalink: /doc/general/
4+
canonical_url: /doc/general/
55
---
66

77
{% include nav.html active='Documentation' %}

doc2/lsp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: LSP documentation
4-
permalink: /doc/lsp
4+
canonical_url: /doc/lsp
55
---
66

77
{% include nav.html active='Documentation' %}

doc2/lua-resources.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: Lua resources
4-
permalink: /doc/lua-resources/
4+
canonical_url: /doc/lua-resources/
55
---
66

77
{% include nav.html active='Documentation' %}

doc2/treesitter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: Tree-sitter documentation
4-
permalink: /doc/treesitter/
4+
canonical_url: /doc/treesitter/
55
---
66

77
{% include nav.html active='Documentation' %}

0 commit comments

Comments
 (0)