Commit Graph

52 Commits

Author SHA1 Message Date
Florian Köhler
93c513af25
Merge pull request #16 from coronary/format/escapes
formatting(docs): remove majority of escape character sequences for legibility
2024-04-02 19:06:36 +02:00
coronary
99161c5fa3 format(docs): replace escaped special characters 2024-03-31 23:10:32 -05:00
Vera De Kalb
4166a76a00 format(docs): remove escaped t's 2024-03-30 14:09:26 -05:00
Vera De Kalb
a0a82533bc format(docs): remove escaped 's character pairs 2024-03-30 13:22:45 -05:00
Florian Köhler
93e24b5962
Merge pull request #15 from hansonchar/linkfix-depth3
Fix hyperlinks of markdown pages at depth 3
2024-02-03 12:38:53 +01:00
Florian Köhler
5746562810
Merge pull request #14 from hansonchar/linkfix-depth2
Fix hyperlinks of markdown pages at depth 2
2024-01-29 19:14:29 +01:00
Florian Köhler
6f3dbe3259
Merge pull request #13 from hansonchar/linkfix-depth1
Fix hyperlinks of markdown pages at depth 1
2024-01-29 19:13:01 +01:00
Hanson Char
b75c3a588b Fix hyperlinks of markdown pages at depth 3
find docs/ -depth 3  -name '*.md' | xargs grep '(.*/' -l | \
  xargs -I{} \
  sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../../\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][0-9a-zA-Z_-]*\))%(../../\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../../\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][0-9a-zA-Z_-]*\))%(../../\1/\2/\3.md#\4)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\))%](../../\1.md)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\)#\([^:.>)#][^:.>)#]*\))%](../../\1.md#\2)%g' \
  {}

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:26:57 -08:00
Hanson Char
e966036f05 Fix hyperlinks of markdown pages at depth 2
find docs/ -depth 2  -name '*.md' | xargs grep '(.*/' -l | \
  xargs -I{} \
  sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2/\3.md#\4)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\))%](../\1.md)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\)#\([^:.>)#][^:.>)#]*\))%](../\1.md#\2)%g' \
  {}

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:26:10 -08:00
Hanson Char
a489aaa906 Fix hyperlinks of markdown pages at depth 1
sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][a-zA-Z_-]*\))%(\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][a-zA-Z_-]*\))%(\1/\2/\3.md#\3)%g' \
  docs/bash4.md

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:24:35 -08:00
flokoe
92be6d2c2c
Update dev instructions and deprecated markdown_extension 2024-01-28 16:59:48 +01:00
Florian Köhler
5bddb65465
Merge pull request #12 from flokoe/add-site-url
Add site url with sub dir from GH Pages
2024-01-28 15:12:22 +01:00
flokoe
68c9b61446
Add site url with sub dir from GH Pages
This fixes urls on GH Pages but still works locally.
2024-01-28 15:10:11 +01:00
Florian Köhler
63fbd34a91
Merge pull request #11 from hansonchar/issue#10
Fix hyperlinks of docs/index.md so that it would work with markedown pages that already exist
2024-01-28 14:52:40 +01:00
Hanson Char
52f7443676 Fix hyperlinks of docs/index.md so that it would work with markdown
pages that already exist.

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-27 17:36:56 -08:00
Florian Köhler
38ce4d6853
Merge pull request #9 from flokoe/add-toc-permalinks
Enable permalinks in toc
2023-07-05 13:45:03 +02:00
flokoe
2d61030d86 Enable permalinks in toc 2023-07-05 13:44:33 +02:00
Florian Köhler
e1d9095065
Merge pull request #8 from flokoe/fix-typos-in-under-construction-note
Fix typos
2023-07-05 13:33:00 +02:00
flokoe
eef745fee1 Fix typos 2023-07-05 13:32:32 +02:00
Florian Köhler
931b49c9b1
Merge pull request #7 from flokoe/add-note-about-original-source
Add under construction note to start page
2023-07-05 13:23:58 +02:00
flokoe
63f83bf3e6 Add under construction note to start page 2023-07-05 13:22:38 +02:00
flokoe
5f078723e3 Convert syntax pages to Markdown 2023-07-05 11:43:35 +02:00
flokoe
22386b0460 Convert snipplets to Markdown 2023-07-05 11:33:45 +02:00
flokoe
82096dc0ff Convert scripting pages to Markdown 2023-07-05 11:31:29 +02:00
flokoe
854c84588c Convert misc pages to Markdown 2023-07-05 11:26:49 +02:00
flokoe
2c151a8682 Convert internals to Markdown 2023-07-05 11:11:49 +02:00
flokoe
2d52763c75 Convert howto pages to Markdown 2023-07-05 11:10:03 +02:00
flokoe
024e1bcc0e Convert files under dict to Markdown 2023-07-05 11:06:16 +02:00
flokoe
1406408dff Convert all builtin commands to Markdown 2023-07-05 10:53:12 +02:00
flokoe
f79b5314b2 Fix Markdown formatting for classictest.md 2023-07-04 18:11:00 +02:00
flokoe
505673ba61 Convert classic test command to Markdown 2023-07-04 15:59:53 +02:00
flokoe
5030fa6f8c Add new plugins to deploy workflow 2023-07-04 15:44:15 +02:00
flokoe
2a6cdd2ae5 Enable convenience features in MkDocs Material
- better navigation
- search
- comments via GitHub Discussions
2023-07-04 15:41:45 +02:00
flokoe
628c7c8262 Add editorconfig file 2023-07-04 14:27:29 +02:00
flokoe
836ea35980 Ad dev instructions 2023-07-04 14:26:14 +02:00
flokoe
aea9fd7d46 Add note where to submit bugs and discuss content 2023-07-04 14:23:53 +02:00
flokoe
b6ed2c5d8f Add GitHub integration 2023-07-04 14:15:26 +02:00
flokoe
094a96e575 Hide left side navigation on start page 2023-07-04 13:58:02 +02:00
flokoe
20b201d027 Convert snipplets to Markdown 2023-07-04 13:56:41 +02:00
flokoe
73779d718d Add tags overview 2023-07-04 13:54:36 +02:00
flokoe
6e4f649350 Fix minor formatting for Markdown 2023-07-04 13:11:57 +02:00
flokoe
375586c22d Convert bash4.txt to Markdown 2023-07-04 12:59:22 +02:00
flokoe
d24eb8b212 Fix formatting for Markdown and remove old content 2023-07-04 12:51:06 +02:00
Florian Köhler
b663bff94b
Create deploy.yml 2023-07-04 11:30:35 +02:00
flokoe
dc5cf13bdd Use correct name in README 2023-07-04 00:52:36 +02:00
flokoe
b02a4faa9a Add gitignore 2023-07-04 00:51:53 +02:00
flokoe
02c31dfa8c Original start.txt converted to Markdwon 2023-07-04 00:29:25 +02:00
flokoe
990dfc6778 Add original server IP address of wiki to readme 2023-07-04 00:14:03 +02:00
flokoe
bd317db54d Add original and unmodified source files 2023-07-04 00:11:36 +02:00
flokoe
4a5fd7b8bc Add mkdocs config and use material theme 2023-07-04 00:09:54 +02:00