Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring to here the efforts from Japanese translations #10

Open
wants to merge 851 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
851 commits
Select commit Hold shift + click to select a range
56c5c9e
translate trademarks for DC and SWC
TomKellyGenetics Oct 6, 2020
c23ddd6
Correct license headings
TomKellyGenetics Oct 6, 2020
3da6717
translate test which does not correspond to CC-BY or MIT licenses
TomKellyGenetics Oct 7, 2020
b186cb1
Merge branch 'license' of https://github.com/TomKellyGenetics/i18n in…
TomKellyGenetics Oct 7, 2020
03e8d9a
Change to License suggested by Masami
TomKellyGenetics Oct 9, 2020
c8c5ddc
correct license preamble to match CC-BY web version
TomKellyGenetics Oct 9, 2020
61921d1
Update po/r-novice-gapminder.ja.po
TomKellyGenetics Oct 9, 2020
194169f
translate remaining section of R License file
TomKellyGenetics Oct 9, 2020
5486026
Merge branch 'license' of https://github.com/TomKellyGenetics/i18n in…
TomKellyGenetics Oct 9, 2020
c809455
Apply suggestions from code review
rikutakei Oct 11, 2020
f40b5f6
Merge pull request #113 from kozo2/kozo2-edit
mergify[bot] Oct 11, 2020
40b5855
finished translating git-novice/_episodes/04-changes.md
rikutakei Oct 11, 2020
2eab112
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into riku-git4
rikutakei Oct 11, 2020
8994b36
changed レポジトリ to リポジトリ for consistency
rikutakei Oct 11, 2020
a8a0dee
finished translating git-novice/_episodes/06-ignore.md
rikutakei Oct 12, 2020
86bbd82
update リポジトリ in README
TomKellyGenetics Oct 13, 2020
08e7298
update リポジトリ in docs
TomKellyGenetics Oct 13, 2020
ed3dda2
update リポジトリ in git lesson
TomKellyGenetics Oct 13, 2020
c48fd5b
Changed レポジトリ to リポジトリ for consistency
TomKellyGenetics Oct 15, 2020
6401faf
Update po/r-novice-gapminder.ja.po
TomKellyGenetics Oct 16, 2020
e38eb93
Update po/r-novice-gapminder.ja.po
TomKellyGenetics Oct 16, 2020
40212fa
Update po/r-novice-gapminder.ja.po
TomKellyGenetics Oct 16, 2020
7891d7c
for license use romaji for trademark or copyright, use katakana in se…
TomKellyGenetics Oct 16, 2020
43718fa
Update po/r-novice-gapminder.ja.po
TomKellyGenetics Oct 16, 2020
1dae236
Merge branch 'license' of https://github.com/TomKellyGenetics/i18n in…
TomKellyGenetics Oct 16, 2020
21432f5
Merge pull request #127 from TomKellyGenetics/license
joelnitta Oct 16, 2020
6fbf440
correct formatting in Japanese License #127
TomKellyGenetics Oct 16, 2020
c468597
correct links in license #127
TomKellyGenetics Oct 16, 2020
920f30a
correct formatting in Japanese license #127
TomKellyGenetics Oct 17, 2020
204f157
translate title for Japanese License
TomKellyGenetics Oct 17, 2020
18617ff
translate Japanese license for make lesson
TomKellyGenetics Oct 17, 2020
60af1da
translate Japanese license for python gapminder lesson
TomKellyGenetics Oct 17, 2020
2f330b8
translate Japanese license for python inflammation lesson
TomKellyGenetics Oct 17, 2020
f9184fe
translate Japanese license for R inflammation lesson
TomKellyGenetics Oct 17, 2020
543bb33
translate Japanese license for Shell lesson
TomKellyGenetics Oct 17, 2020
4226529
translate Japanese license for SQL survey lesson
TomKellyGenetics Oct 17, 2020
fbd4c06
translate Japanese license for Git lesson for consistency
TomKellyGenetics Oct 17, 2020
263a17b
change trademarks to Japanese quotation marks
TomKellyGenetics Oct 17, 2020
2f062a7
update PO files
TomKellyGenetics Oct 18, 2020
92271b1
changes to remotes in wrapper to build shell-novice lesson
TomKellyGenetics Oct 18, 2020
660d93d
break lines into many + fix problem with formatting (for translation …
TomKellyGenetics Oct 18, 2020
497d965
changes to remotes in wrapper to build shell-novice lesson
TomKellyGenetics Oct 18, 2020
d2d0d9a
break lines into many + fix problem with formatting (for translation …
TomKellyGenetics Oct 18, 2020
b0bb488
update PO files
TomKellyGenetics Oct 18, 2020
1297da1
correct formatting
TomKellyGenetics Oct 18, 2020
b137fc1
correct formatting
TomKellyGenetics Oct 18, 2020
e25bbfe
Merge pull request #132 from TomKellyGenetics/build-shell
TomKellyGenetics Oct 18, 2020
ba76d48
update shell code of conduct
TomKellyGenetics Oct 18, 2020
8c7c52e
Merge pull request #133 from TomKellyGenetics/build-shell
TomKellyGenetics Oct 18, 2020
511a074
Tranlate git-novice episode5
kozo2 Nov 7, 2020
4442743
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into ja
TomKellyGenetics Nov 10, 2020
4702add
setup github actions
TomKellyGenetics Nov 10, 2020
c3a1487
checks on input files
TomKellyGenetics Nov 10, 2020
e71261d
add script calls to build lesson with GitHub Actions
TomKellyGenetics Nov 10, 2020
0c65257
separate workflows
TomKellyGenetics Nov 10, 2020
9d08dd8
GitHub Actions configuration
TomKellyGenetics Nov 10, 2020
37a22ba
correct GitHub Actions configuration
TomKellyGenetics Nov 10, 2020
3d10cca
update markdown formatting
TomKellyGenetics Nov 10, 2020
3004dd3
correct file formatting
TomKellyGenetics Nov 10, 2020
9f0d338
update rendering webpages
TomKellyGenetics Nov 10, 2020
067406c
update rendering webpages
TomKellyGenetics Nov 10, 2020
1f08c41
correct remotes in wrapper script
TomKellyGenetics Nov 10, 2020
11c268d
enable remote access for GitHub Actions
TomKellyGenetics Nov 10, 2020
a1db178
enable remote access for GitHub Actions
TomKellyGenetics Nov 10, 2020
05ce215
enable remote access for GitHub Actions
TomKellyGenetics Nov 10, 2020
98e1eb0
enable remote access for GitHub Actions
TomKellyGenetics Nov 10, 2020
c90ae52
enable remote access for GitHub Actions
TomKellyGenetics Nov 10, 2020
0031d49
check remotes in wrapper script
TomKellyGenetics Nov 10, 2020
edf7a27
disable inactive lesson
TomKellyGenetics Nov 10, 2020
68d133e
Apply suggestions to correct formatting in git lesson
TomKellyGenetics Nov 10, 2020
8227e94
Merge pull request #107 from rikutakei/riku-git2
mergify[bot] Nov 10, 2020
ff501c4
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
8bc2a5e
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into ja
TomKellyGenetics Nov 10, 2020
2128331
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
7e08788
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
7894303
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
cb5c2e5
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
0ee84ba
update submodules
TomKellyGenetics Nov 10, 2020
10a5d5a
update submodules
TomKellyGenetics Nov 10, 2020
cb5f573
set up python on GitHub Actions
TomKellyGenetics Nov 10, 2020
2f6b9c1
set up python on GitHub Actions
TomKellyGenetics Nov 10, 2020
c195899
set up python on GitHub Actions
TomKellyGenetics Nov 10, 2020
ee18d64
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
b60e736
render lessons separately as array jobs
TomKellyGenetics Nov 10, 2020
4b29d2e
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
7e1bd03
update array job for GitHub Actions
TomKellyGenetics Nov 10, 2020
1a6ffdd
test rendering on GitHub Actions
TomKellyGenetics Nov 10, 2020
b640d0a
update array job for GitHub Actions
TomKellyGenetics Nov 10, 2020
30f4268
update array job for GitHub Actions
TomKellyGenetics Nov 10, 2020
5d64007
update array job for GitHub Actions
TomKellyGenetics Nov 10, 2020
490bc8d
update array job for GitHub Actions
TomKellyGenetics Nov 10, 2020
cecbfdd
configure tokens to push on GitHub Actions
TomKellyGenetics Nov 10, 2020
556590a
update tokens to push commits to lesson repos
TomKellyGenetics Nov 10, 2020
992d1d9
update tokens to push commits to lesson repos
TomKellyGenetics Nov 10, 2020
1df89c6
Translate "Simplifying the Common Case"
kozo2 Nov 10, 2020
8b3a89e
update tokens to push commits to lesson repos
TomKellyGenetics Nov 10, 2020
5499180
update tokens to push commits to lesson repos
TomKellyGenetics Nov 10, 2020
cf2d399
set up GitHub Actions
TomKellyGenetics Nov 11, 2020
0ef05aa
set up GitHub Actions
TomKellyGenetics Nov 11, 2020
7997866
set up GitHub Actions
TomKellyGenetics Nov 11, 2020
25f6637
resolve conflicts in package build
TomKellyGenetics Nov 11, 2020
910acac
set up remotes
TomKellyGenetics Nov 11, 2020
d60f452
set up remotes
TomKellyGenetics Nov 11, 2020
cd40f0a
set up remotes
TomKellyGenetics Nov 11, 2020
0c13835
set up remotes
TomKellyGenetics Nov 11, 2020
406007b
set up remotes on github actions
TomKellyGenetics Nov 11, 2020
9d105f1
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
1d9e533
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
0872954
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
3d589d3
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
1d66e74
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
42256d1
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
b6d6cc3
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
b438bae
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
437e7eb
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
3365dd4
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
589d013
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
69f6894
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
c9631d4
correct formatting in git lesson
TomKellyGenetics Nov 11, 2020
8881fb2
migrate lessons correctly
TomKellyGenetics Nov 11, 2020
ef3fa02
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
09fbec1
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
abe4798
correct handing of branches for GitHub Actions
TomKellyGenetics Nov 11, 2020
3d902e5
correct formatting in git lesson
TomKellyGenetics Nov 11, 2020
3b4dcfe
correct formatting in git lesson
TomKellyGenetics Nov 11, 2020
0a6be70
correct formatting in git lesson
TomKellyGenetics Nov 11, 2020
92a30b9
set up automated rendering webpages with locale inputs
TomKellyGenetics Nov 15, 2020
d5234bf
Revert headings for Git lesson 5
TomKellyGenetics Nov 15, 2020
ce8344b
correct example call
TomKellyGenetics Nov 15, 2020
457d171
update links in locale with wrapper script
TomKellyGenetics Nov 16, 2020
9f6874f
correct links in lesson headers
TomKellyGenetics Nov 16, 2020
67e7d20
update wrapper script
TomKellyGenetics Nov 16, 2020
966bb31
migrate git code of conduct to R
TomKellyGenetics Nov 16, 2020
0896565
migrate git contributing guide to R
TomKellyGenetics Nov 16, 2020
5b9df02
Update quickstart.md
TomKellyGenetics Nov 16, 2020
98d268b
Translate "Recovering Older Versions of a File"
kozo2 Nov 16, 2020
db61df3
Merge branch 'kozo-git5' of github.com:kozo2/i18n into kozo-git5
kozo2 Nov 16, 2020
e6f663b
Translate "Reverting a Commit"
kozo2 Nov 17, 2020
78fd53b
Correct headers in Git lesson 5
TomKellyGenetics Nov 17, 2020
53357bc
Translate "Understanding Workflow and History"
kozo2 Nov 21, 2020
c8b233a
Merge branch 'kozo-git5' of github.com:kozo2/i18n into kozo-git5
kozo2 Nov 21, 2020
62f7aad
Translate "Checking Understanding of `git diff`"
kozo2 Nov 21, 2020
9f795bc
Translate "Getting Rid of Staged Changes"
kozo2 Nov 21, 2020
b86dfdb
Translate "Explore and Summarize Histories" and "Key Points"
kozo2 Nov 22, 2020
5580836
Merge pull request #131 from TomKellyGenetics/license
joelnitta Nov 23, 2020
304a4b8
remove outdated changelog file #51
TomKellyGenetics Nov 23, 2020
05fa98c
Delete change log
joelnitta Nov 23, 2020
c91cb48
Merge pull request #141 from joelnitta/ja
joelnitta Nov 23, 2020
dd6c84e
Merge pull request #136 from TomKellyGenetics/coc
TomKellyGenetics Nov 23, 2020
0380db6
merge changes to CODE OF CONDUCT in Shell source lesson https://githu…
TomKellyGenetics Nov 23, 2020
091d698
update PO file formatting with po4gitbook
TomKellyGenetics Nov 23, 2020
5996098
translate code of conduct for shell
TomKellyGenetics Nov 23, 2020
86747ee
update handling of CODE_OF_CONDUCT
TomKellyGenetics Nov 23, 2020
3e0a2cd
update handling of Code of Conduct
TomKellyGenetics Nov 23, 2020
e647d91
update handling of Code of Conduct
TomKellyGenetics Nov 23, 2020
9e1c725
update links to Code of Conduct
TomKellyGenetics Nov 23, 2020
9ba7919
update line numbers for CODE OF CONDUCT
TomKellyGenetics Nov 23, 2020
3a7a10d
translate code of conduct for make
TomKellyGenetics Nov 23, 2020
a57ba64
translate code of conduct for python gapminder
TomKellyGenetics Nov 23, 2020
c59a3dd
translate code of conduct for python inflammation
TomKellyGenetics Nov 23, 2020
c84f8cf
translate code of conduct for R inflammation
TomKellyGenetics Nov 23, 2020
c589c20
translate code of conduct for SQL
TomKellyGenetics Nov 23, 2020
0e28646
consistent links for CONTRIBUTING
TomKellyGenetics Nov 23, 2020
42d9d05
translate Guide for CONTRIBUTING for shell
TomKellyGenetics Nov 23, 2020
d34c425
rename CODE OF CONDUCT automatically
TomKellyGenetics Nov 23, 2020
1f06f9e
Merge pull request #143 from TomKellyGenetics/coc
TomKellyGenetics Nov 23, 2020
ece16fb
update links in script for compatibility with theme #137 #139
TomKellyGenetics Nov 23, 2020
cada5e0
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into technical
TomKellyGenetics Nov 23, 2020
fe3d890
Merge pull request #144 from TomKellyGenetics/technical
TomKellyGenetics Nov 23, 2020
ce41c26
correct code of conduct files
TomKellyGenetics Nov 23, 2020
a28eefa
remove figures to build jekyll
TomKellyGenetics Nov 23, 2020
5cc3002
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into ja
TomKellyGenetics Nov 23, 2020
69e0b0d
correct file headings
TomKellyGenetics Nov 23, 2020
4124363
remove figures files
TomKellyGenetics Nov 23, 2020
0ee9152
correct file headings
TomKellyGenetics Nov 23, 2020
f11e6d2
correct file headings
TomKellyGenetics Nov 23, 2020
7bcaeed
correct file headings
TomKellyGenetics Nov 23, 2020
1297ffb
rename code of conduct to restore jekyll build
TomKellyGenetics Nov 23, 2020
cecd226
correct file headings
TomKellyGenetics Nov 23, 2020
0f5c47a
update submodules for python english source
TomKellyGenetics Jan 23, 2021
8b41656
update PO files
TomKellyGenetics Jan 23, 2021
74fa474
update python, make, and sql source files for japanese translation
TomKellyGenetics Jan 23, 2021
181ab7e
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into ja
TomKellyGenetics Jan 23, 2021
461d53b
update PO files
TomKellyGenetics Jan 23, 2021
bdb2384
Translate setup episode
kozo2 Jan 24, 2021
99fb1f0
Translate up to the point that mentions paywall
kozo2 Jan 25, 2021
f24aa45
add Python lesson to GitHub Actions webpages
TomKellyGenetics Feb 6, 2021
0d4d982
Merge branch 'master' of https://github.com/carpentries-i18n/i18n and…
TomKellyGenetics Feb 6, 2021
5cc0bcc
update PO files
TomKellyGenetics Feb 25, 2021
8691724
update script for compatility with po4gitbook
TomKellyGenetics Feb 25, 2021
4bf3d5d
update PO files
TomKellyGenetics Feb 25, 2021
e33cfc5
update code of conduct in all repos
TomKellyGenetics Mar 9, 2021
9c84b8a
update PO files
TomKellyGenetics Mar 9, 2021
70d8e08
path wrapper script to enable automated update of webpages
TomKellyGenetics Mar 9, 2021
812f44c
update wrapper script
TomKellyGenetics Mar 9, 2021
5cb8295
remove template submodule
TomKellyGenetics Mar 9, 2021
cb37098
update PO files
TomKellyGenetics Mar 9, 2021
d378c49
update PO files
TomKellyGenetics Mar 9, 2021
9d42615
update PO files
TomKellyGenetics Mar 9, 2021
97a92d4
update PO files
TomKellyGenetics Mar 9, 2021
9b2c158
update PO files
TomKellyGenetics Mar 9, 2021
db79b15
Merge branch 'ja' of github.com:swcarpentry-ja/i18n into ja
TomKellyGenetics Mar 9, 2021
e19aebe
update PO files
TomKellyGenetics Mar 15, 2021
9e54a51
restore figure paths
TomKellyGenetics Mar 15, 2021
4075f2d
restore images in English and Japanese versions
TomKellyGenetics Mar 15, 2021
f5d2a26
correct formatting in LICENSE
TomKellyGenetics Mar 26, 2021
e863137
correct figure paths in raw HTML images
TomKellyGenetics Mar 30, 2021
e2e37d8
Merge pull request #148 from kozo2/kozo-r-gapminder-setup
joelnitta Apr 2, 2021
ee2163f
set up library carpentry open refine lesson
TomKellyGenetics May 10, 2021
8826512
update PO files
TomKellyGenetics May 10, 2021
a2a9e30
update PO files
TomKellyGenetics May 10, 2021
3a9b0c9
remove nested locales from translations
TomKellyGenetics May 10, 2021
5a96ec7
Translate 10. Open Science
kozo2 Jun 14, 2021
595516d
Translate setup.md to ja
kozo2 Jul 30, 2021
60e3797
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
97e40ba
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
0032e1f
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
f701794
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
9d04c70
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
d186a65
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
17d2ee8
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
143d456
Update po/git-novice.ja.po
kozo2 Jul 30, 2021
1d03eb4
Merge pull request #152 from kozo2/kozo-git10
joelnitta Jul 30, 2021
d8558a3
Apply suggestions from code review
rikutakei Jul 31, 2021
8d46e5a
Apply suggestions from code review
rikutakei Jul 31, 2021
55674d5
Merge pull request #128 from rikutakei/riku-git4
joelnitta Aug 1, 2021
bb59a56
Merge pull request #130 from rikutakei/riku-git6
joelnitta Aug 1, 2021
6193b63
Update lc-open-refine.ja.po
kozo2 Aug 13, 2021
84ec1a8
Update lc-open-refine.ja.po
kozo2 Aug 13, 2021
7bda2fc
Update lc-open-refine.ja.po
kozo2 Aug 13, 2021
18431e2
Update lc-open-refine.ja.po
kozo2 Aug 13, 2021
3f139c9
Update lc-open-refine.ja.po
kozo2 Aug 13, 2021
97193e8
Add a small space between alphabet and Japanese
kozo2 Aug 14, 2021
fa0c797
Merge pull request #154 from kozo2/kozo-lcopenrefine-setup
mergify[bot] Oct 3, 2021
2fce05d
Update git-novice.ja.po
kozo2 Nov 28, 2021
0776665
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
24991a2
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
9860c06
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
5c038cd
Replace コミット識別子 to コミット ID
kozo2 Nov 28, 2021
0dfb125
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
da3ac84
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
6e12366
Update po/git-novice.ja.po
kozo2 Nov 28, 2021
c184e23
Replace 識別子 to ID
kozo2 Nov 30, 2021
e77ffc1
Update po/git-novice.ja.po
kozo2 Nov 30, 2021
1e98ee0
Update po/git-novice.ja.po
kozo2 Nov 30, 2021
452f105
Update po/git-novice.ja.po
kozo2 Nov 30, 2021
6ce8f96
Add "も" to make Japanese more natural.
kozo2 Nov 30, 2021
02ec185
Replace 識別子 to ID
kozo2 Nov 30, 2021
ed0d672
Merge pull request #135 from kozo2/kozo-git5
mergify[bot] Nov 30, 2021
b13e7de
Merge changes from megane0-0 49725d83d59bd46c7493f91ae3b9fa1c2b370e08
megane0-0 Jul 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename code of conduct to restore jekyll build
TomKellyGenetics committed Nov 23, 2020
commit 1297ffbed6dd464aec8069b7bbefb2a4669ddd89
30 changes: 15 additions & 15 deletions wrapper.sh
Original file line number Diff line number Diff line change
@@ -548,17 +548,17 @@ if [[ $render == true ]]; then

#move files to external repo
rsync -r ../i18n/locale/${locale}/${repo}/*md .
if [ -f CODE_OF_CONDUCT.md ]; then
mv CODE_OF_CONDUCT.md CONDUCT.md
if [ -f CONDUCT.md ]; then
mv CONDUCT.md CODE_OF_CONDUCT.md
fi
rsync -r ../i18n/locale/${locale}/${repo}/_episodes/*md _episodes
rsync -r ../i18n/locale/${locale}/${repo}/_extras/*md _extras

#correct links for locale
sed -i "s/permalink: \/conduct\//permalink: \/${locale}\/conduct\//g" CONDUCT.md
sed -i "s/permalink: \/conduct\//permalink: \/${locale}\/conduct\//g" CODE_OF_CONDUCT.md
sed -i "s/permalink: \/aio\//permalink: \/${locale}\/aio\//g" aio.md
sed -i "s/root: \.$/root: \/${locale}\/\npermalink: \/${locale}\/index.html/g" index.md
sed -i "4s/root: \.\.$/root\: \/${locale}\//g" reference.md setup.md
sed -i "4s/root: \.\.$/root\: \/${locale}\//g" reference.md setup.md LICENSE.md
sed -i "3s/root: \.$/root\: \/${locale}\//g" aio.md LICENSE.md
sed -i "4s/---/permalink: \/${locale}\/aio\/\n---/g" aio.md
sed -i "5s/permalink: \/LICENSE\//permalink: \/${locale}\/LICENSE\//g" LICENSE.md
@@ -643,46 +643,46 @@ if [[ $render == true ]]; then
fi

#rename code of conduct if needed
if [ -f CODE_OF_CONDUCT.md ]; then
mv CODE_OF_CONDUCT.md CONDUCT.md
if [ -f CONDUCT.md ]; then
mv CODUCT.md CODE_OF_CONDUCT.md
fi

#update links
# add title if missing
sed -i "3s/root: \./Title: "Licenses"\nroot: \./g" LICENSE.md
sed -i "3s/root: \./Title: "Contributor Code of Conduct"\nroot: \./g" CONDUCT.md
sed -i "3s/root: \./Title: "Contributor Code of Conduct"\nroot: \./g" CODE_OF_CONDUCT.md
sed -i "3s/root: \./Title: "Reference"\nroot: \./g" reference.md
sed -i "3s/root: \./Title: "Setup"\nroot: \./g" setup.md

# add root if missing
sed -i "3s/---/root: \.\n---/g" index.md
sed -i "3s/root: \//root: \./g" index.md
sed -i "4s/---/root: \.\n---/g" LICENSE.md CONDUCT.md
sed -i "4s/---/root: \.\n---/g" LICENSE.md CODE_OF_CONDUCT.md
sed -i "4s/---/root: \.\.\n---/g" reference.md setup.md
sed -i "3s/---/root: \.\n---/g" LICENSE.md CONDUCT.md
sed -i "3s/---/root: \.\n---/g" LICENSE.md CODE_OF_CONDUCT.md
sed -i "3s/---/root: \.\.\n---/g" reference.md setup.md
sed -i "3s/---/root: \.\n---/g" aio.md

# add permlink if missing
sed -i "s/root\: \/\$/root\: \/\npermalink\: index.html/g" index.md
sed -i "s/root\: \.\$/root\: \.\npermalink\: \/LICENSE\//g" LICENSE.md
sed -i "s/root\: \.\$/root\: \.\npermalink\: \/conduct\//g" CONDUCT.md
sed -i "s/root\: \.\$/root\: \.\npermalink\: \/conduct\//g" CODE_OF_CONDUCT.md
sed -i "s/root\: \.\.\$/root\: \.\.\npermalink\: \/reference\//g" reference.md
sed -i "s/root\: \.\.\$/root\: \.\.\npermalink\: \/setup\//g" setup.md
sed -i "s/root\: \.\.\$/root\: \.\.\npermalink\: \/aio\//g" aio.md

# remove if appears twice
sed -i '5{/permalink: index\.html/d;}' index.md
sed -i '6{/permalink\: \/LICENSE\//d;}' LICENSE.md
sed -i '6{/permalink\: \/conduct\//d;}' CONDUCT.md
sed -i '6{/permalink\: \/conduct\//d;}' CODE_OF_CONDUCT.md
sed -i '6{/permalink\: \/reference\//d;}' reference.md
sed -i '6{/permalink\: \/setup\//d;}' setup.md
sed -i '5{/permalink\: \/aio\//d;}' aio.md

#remove figures for now
rm -rf _extras/figures.md
git add _extras/figures.md

@ mask figures for now
echo "---\nlayout: page\ntitle: Figures\n---" > _extras/figures.md
ga _extras/figures.md
#add changes
git add -u
git add index.md LICENSE.md reference.md setup.md aio.md