diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2023-06-14 09:32:28 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2023-06-14 12:52:13 +0200 |
commit | debfb9118dece693025c0fc50ad8cbde84ab565b (patch) | |
tree | 7da80ca4fe00c5bf2ae164b31b6fb953999cee7f /source |
Project structure
Diffstat (limited to 'source')
-rw-r--r-- | source/bibliography/index.rst | 9 | ||||
-rw-r--r-- | source/bibliography/misc.bib | 0 | ||||
-rw-r--r-- | source/conf.py | 59 | ||||
-rw-r--r-- | source/index.rst | 84 |
4 files changed, 152 insertions, 0 deletions
diff --git a/source/bibliography/index.rst b/source/bibliography/index.rst new file mode 100644 index 0000000..b5317b2 --- /dev/null +++ b/source/bibliography/index.rst @@ -0,0 +1,9 @@ +############## + Bibliography +############## + +Miscellaneous +============= + +.. bibliography:: misc.bib + :all: diff --git a/source/bibliography/misc.bib b/source/bibliography/misc.bib new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/bibliography/misc.bib diff --git a/source/conf.py b/source/conf.py new file mode 100644 index 0000000..96ccd7d --- /dev/null +++ b/source/conf.py @@ -0,0 +1,59 @@ +# Configuration file for the Sphinx documentation builder. +# +# For the full list of built-in configuration values, see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information + +project = "Valhalla's craft patterns" +copyright = '2023, Elena “of Valhalla”' +author = 'Elena “of Valhalla”' + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = [ + 'sphinxcontrib.inkscapeconverter', + 'sphinxcontrib.bibtex', +] + +templates_path = ['_templates'] +exclude_patterns = [] + + + +# -- Options for HTML output ------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output + +html_theme = 'alabaster' +html_static_path = ['_static'] + +# -- Options for latex output ------------------------------------------------- + +latex_engine = 'xelatex' +latex_show_urls = 'footnote' +latex_toplevel_sectioning = 'part' + +latex_elements = { + 'papersize': 'a5paper', + 'fontpkg': r''' + \setmainfont{Gentium} + \setsansfont{Gentium} + \setmonofont{FreeMono}[Scale=0.8] + ''', + 'sphinxsetup': r''' + TitleColor={named}{black}, + InnerLinkColor={named}{gray}, + OuterLinkColor={named}{gray}, + hmargin={2cm,2cm}, + vmargin={2.5cm,2.5cm}, + ''', + 'fncychap': r'\usepackage[Rejne]{fncychap}', + } + +# Options for extensions + +bibtex_bibfiles = [ + "bibliography/misc.bib", +] diff --git a/source/index.rst b/source/index.rst new file mode 100644 index 0000000..d899c1a --- /dev/null +++ b/source/index.rst @@ -0,0 +1,84 @@ +.. Valhalla's crafting patterns documentation master file, created by + sphinx-quickstart on Wed Jun 14 09:23:05 2023. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Valhalla's craft patterns +========================= + +This is a collection of crafting patterns and tutorials designed or +adapted by Elena “of Valhalla”. + +The latest version of this document is published on +https://craft-patterns.trueelena.org/; a `pdf version +<https://craft-patterns.trueelena.org/Valhallascraftpatterns.pdf>`_ +and an `epub version +<https://craft-patterns.trueelena.org/Valhallascraftpatterns.epub>`_ +are also available; note however that this document is pretty image +heavy, and may not load correctly in many ebook readers. + +The PDF and epub versions also don't include any download file which can +be downloaded from the individual pages of this webiste, or as the `full +website source zip archive +<https://craft-patterns.trueelena.org/Valhallascraftpatterns.zip>`_ or +`website source tarball +<https://craft-patterns.trueelena.org/Valhallascraftpatterns.tar.xz>`_. + +There are also companion websites for `sewing patterns +<https://sewing-patterns.trueelena.org/>`_ and `fiber craft patterns +<https://fiber-patterns.trueelena.org/>`_. + +This document is generated with Sphinx_, and its sources are published +on https://git.trueelena.org/crafts/craft_patterns/. + +.. _Sphinx: https://www.sphinx-doc.org + +Generating an rss of new pages with Sphinx doesn't seem to be (easily) +possible, but when new patterns are added or existing patterns receive +significant changes they are usually announced on `my blog`_, which of +course has an rss. + +.. _`my blog`: https://blog.trueelena.org + +.. raw:: html + + <p> + If you have questions or comments about anything in these patterns you + can contact me via email at patterns AT trueelena.org, or you can find + me on the fediverse + <a href="https://social.gl-como.it/profile/valhalla/" rel=me> + @valhalla@social.gl.como.it + </a> + </p> + +.. only:: not html + + If you have questions or comments about anything in these patterns you + can contact me via email at patterns AT trueelena.org, or you can find + me on the fediverse as `@valhalla@social.gl.como.it + <https://social.gl-como.it/profile/valhalla/>`_. + +------ + +Copyright 2023 Elena Grandi + +This work is licensed under the Creative Commons Attribution-ShareAlike +4.0 International License. To view a copy of this license, visit +http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to +Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. + +------ + +.. toctree:: + :maxdepth: 3 + :caption: Contents: + + bibliography/index + +.. only:: draft + + * :ref:`genindex` + +.. only:: html + + * :ref:`search` |