Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Migrate docs to Markdown and add migration documentation for moving t…
Browse files Browse the repository at this point in the history
…o v2.0.
  • Loading branch information
seandstewart committed Mar 15, 2021
1 parent d2e416c commit 10b82dd
Show file tree
Hide file tree
Showing 81 changed files with 1,847 additions and 3,715 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -54,7 +54,7 @@ coverage.xml
*.pot

# Sphinx documentation
docs/_build/
sphinx/_build/

# OS hidden files
.DS_Store
Expand Down
15 changes: 6 additions & 9 deletions CHANGES/template.jinja → .towncrier.md.jinja
@@ -1,31 +1,28 @@
{% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}{% set underline = underlines[1] %}
{% endif %}
{%- if section %}{{section}}{% endif -%}

{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
{{ definitions[category]['name'] }}
{{ underline * definitions[category]['name']|length }}
### {{ definitions[category]['name'] }}

{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
- {{ text }}
(see {{ values|join(',\n ') }});
- {{ values|join(', ') }} {{ text }}
{% endfor %}

{% else %}
- {{ sections[section][category]['']|join(',\n ') }};
- {{ sections[section][category]['']|join(', ') }}

{% endif %}
{% if sections[section][category]|length == 0 %}
No significant changes.

{% else %}
{% endif %}

{% endfor %}
{% else %}
No significant changes.


{% endif %}
{% endfor %}

0 comments on commit 10b82dd

Please sign in to comment.