Skip to content

Commit

Permalink
Fix docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Oct 14, 2020
1 parent 6e5a05e commit da13ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate_docs.sh
Expand Up @@ -2,6 +2,7 @@

DOCS_ROOT=docs-gen

[ -d $DOCS_ROOT ] && rm -r $DOCS_ROOT
mkdir $DOCS_ROOT

# Work around Dokka failing to link against external links generated from 'gfm' sources.
Expand All @@ -17,7 +18,7 @@ sed -i.bak 's/$dokka.linkExtension:md/$dokka.linkExtension:html/g' package-list-
rm package-list-coil-base

# Copy over any static + API docs to our $DOCS_ROOT
cp -r docs/ $DOCS_ROOT/
cp -R docs/* $DOCS_ROOT

cp README.md $DOCS_ROOT/index.md
cp CONTRIBUTING.md $DOCS_ROOT/contributing.md
Expand Down

0 comments on commit da13ccb

Please sign in to comment.