Favicon and robots file in html root

This commit is contained in:
Kujiu 2023-08-19 00:46:44 +02:00
parent 3403369259
commit 84dfe4fb5f
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
15 changed files with 14 additions and 6 deletions

View file

@ -5,7 +5,6 @@
SPHINXOPTS = SPHINXOPTS =
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
SPHINXINTL = sphinx-intl SPHINXINTL = sphinx-intl
SPHINXPROJ = Contesetlgendesvol1
SOURCEDIR = source SOURCEDIR = source
BUILDDIR = build BUILDDIR = build
DISTDIR = dist DISTDIR = dist
@ -31,16 +30,18 @@ htmlall:
for lang in $(ALLLANGS); \ for lang in $(ALLLANGS); \
do \ do \
mkdir -p "$(DISTDIR)/html/$$lang"; \ mkdir -p "$(DISTDIR)/html/$$lang"; \
$(SPHINXBUILD) -d "$(BUILDDIR)/doctrees" --color -b html -D language='$$lang' -D html_baseurl="https://$(BASEURL)/$$lang/" -D blog_baseurl="https://$(BASEURL)/$$lang/" $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/html/$$lang"; \ $(SPHINXBUILD) -d "$(BUILDDIR)/doctrees" --color -b html -D language="$$lang" -D html_baseurl="https://$(BASEURL)/$$lang/" -D blog_baseurl="https://$(BASEURL)/$$lang/" $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/html/$$lang"; \
rsync -av --delete "$(BUILDDIR)/html/$$lang/" "$(DISTDIR)/html/$$lang"; \ rsync -av --delete "$(BUILDDIR)/html/$$lang/" "$(DISTDIR)/html/$$lang"; \
done done
cp $(DISTDIR)/html/$(SOURCELANG)/favicon.ico $(DISTDIR)/html/
cp $(DISTDIR)/html/$(SOURCELANG)/robots.txt $(DISTDIR)/html/
geminiall: geminiall:
mkdir -p "$(BUILDDIR)/gemini"; \ mkdir -p "$(BUILDDIR)/gemini"; \
for lang in $(ALLLANGS); \ for lang in $(ALLLANGS); \
do \ do \
mkdir -p "$(DISTDIR)/gemini/$$lang"; \ mkdir -p "$(DISTDIR)/gemini/$$lang"; \
$(SPHINXBUILD) --color -d "$(BUILDDIR)/doctrees" -b gemini -D language='$$lang' -D blog_baseurl="gemini://$(BASEURL)/$$lang/" -D gemini_baseurl="gemini://$(BASEURL)/$$lang/" $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/gemini/$$lang"; \ $(SPHINXBUILD) --color -d "$(BUILDDIR)/doctrees" -b gemini -D language="$$lang" -D blog_baseurl="gemini://$(BASEURL)/$$lang/" -D gemini_baseurl="gemini://$(BASEURL)/$$lang/" $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/gemini/$$lang"; \
rsync -av --delete "$(BUILDDIR)/gemini/$$lang/" "$(DISTDIR)/gemini/$$lang"; \ rsync -av --delete "$(BUILDDIR)/gemini/$$lang/" "$(DISTDIR)/gemini/$$lang"; \
done done
cp index.gmi $(DISTDIR)/gemini/index.gmi cp index.gmi $(DISTDIR)/gemini/index.gmi

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -11,7 +11,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Kujiu's Labs main\n" "Project-Id-Version: Kujiu's Labs main\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-18 15:12+0200\n" "POT-Creation-Date: 2023-08-18 16:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n" "Language: en\n"
@ -1132,8 +1132,8 @@ msgstr ""
#: ../../source/apropos/historique.rst:-1 #: ../../source/apropos/historique.rst:-1
msgid "" msgid ""
"Branch main Commit c6a771fd242575af439fThere were uncommitted changes " "Branch main Commit 34033692598d266596baThere were uncommitted changes "
"when this was compiled.There were untracked files when this was compiled." "when this was compiled."
msgstr "" msgstr ""
#: ../../source/apropos/historique.rst #: ../../source/apropos/historique.rst
@ -1723,3 +1723,10 @@ msgid ""
" deux-mil-vingt-et-un." " deux-mil-vingt-et-un."
msgstr "" msgstr ""
#~ msgid ""
#~ "Branch main Commit c6a771fd242575af439fThere "
#~ "were uncommitted changes when this was"
#~ " compiled.There were untracked files when"
#~ " this was compiled."
#~ msgstr ""

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.