From d07547c2fa3e7a699365533b579274630d80660b Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Wed, 24 Jan 2024 13:17:36 +0100 Subject: [PATCH] docs: hide code block in ner benchmark --- .gitignore | 3 +++ docs/performance_ner.ipynb | 6 +++++- makefile | 5 +++-- projects/dane_plus/dane_plus | 1 + 4 files changed, 12 insertions(+), 3 deletions(-) create mode 160000 projects/dane_plus/dane_plus diff --git a/.gitignore b/.gitignore index bdc023d7..b303300a 100644 --- a/.gitignore +++ b/.gitignore @@ -171,3 +171,6 @@ tutorials/*.py temp_files/* training/dane_plus/* +projects/pos-tagging/corpus/* +projects/pos-tagging/training/* +projects/pos-tagging/wandb/* diff --git a/docs/performance_ner.ipynb b/docs/performance_ner.ipynb index 0a291951..dfe66416 100644 --- a/docs/performance_ner.ipynb +++ b/docs/performance_ner.ipynb @@ -1521,7 +1521,11 @@ { "cell_type": "code", "execution_count": 29, - "metadata": {}, + "metadata": { + "tags": [ + "remove-cell" + ] + }, "outputs": [ { "name": "stdout", diff --git a/makefile b/makefile index 47bb8bed..f3eff8c7 100644 --- a/makefile +++ b/makefile @@ -27,11 +27,12 @@ pr: build-docs: @echo "--- 📚 Building docs ---" @echo "Builds the docs and puts them in the 'site' folder" - mkdocs build + sphinx-build -M html docs/ docs/_build view-docs: @echo "--- 👀 Viewing docs ---" - mkdocs serve + @echo You might need to rebuild the docs first" + open docs/_build/html/index.html update-from-template: @echo "--- 🔄 Updating from template ---" diff --git a/projects/dane_plus/dane_plus b/projects/dane_plus/dane_plus new file mode 160000 index 00000000..ba3f3fd9 --- /dev/null +++ b/projects/dane_plus/dane_plus @@ -0,0 +1 @@ +Subproject commit ba3f3fd9eec58544aa8475389fe667b3cd4d6780