8000 [patch] upgrade docusaurus deps, fix build script by francoishernandez · Pull Request #37 · eole-nlp/eole · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[patch] upgrade docusaurus deps, fix build script #37

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

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions docs/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ find . -name "*.md" -print0 | xargs -0 sed -i 's/<\/p>/<\/p>\n/g'
# escape some conflicting html tags for proper render
find . -name "*.md" -print0 | xargs -0 sed -i 's/<s>/\&lt;s\&gt;/g'
find . -name "*.md" -print0 | xargs -0 sed -i 's/<\/s>/\&lt;\/s\&gt;/g'
rm ref.md # only used to build bibliography.md with pandoc
[ -f ref.md ] && rm ref.md # only used to build bibliography.md with pandoc

cd ../..

# 2 - link sphinx markdown build to proper place
cd docusaurus_tsx/docs
[ -f reference ] && rm reference && ln -s ../../sphinx_markdown/markdown reference
[ -L reference ] && rm reference; ln -s ../../sphinx_markdown/markdown reference
cd ../..

# 3 - link recipes directory to proper place
cd docusaurus_tsx/docs
[ -f recipes ] && rm recipes && ln -s ../../../recipes
[ -f index.md ] && rm index.md && ln -s ../../../README.md index.md
[ -f contributing.md ] && rm contributing.md && ln -s ../../../CONTRIBUTING.md contributing.md
[ -L recipes ] && rm recipes; ln -s ../../../recipes
[ -f index.md ] && rm index.md; ln -s ../../../README.md index.md
[ -f contributing.md ] && rm contributing.md; ln -s ../../../CONTRIBUTING.md contributing.md

cd ../..

Expand Down
Loading
Loading
0