Skip to main content

TEMPLATE_VERSION_INDEX_GEMTEXT

Constant TEMPLATE_VERSION_INDEX_GEMTEXT 

Source
pub const TEMPLATE_VERSION_INDEX_GEMTEXT: &str = "# {{ project_name }} \u{2014} {{ version }}\n\n=> ../ All versions\n{% if repo_url %}\n## Repository\n=> {{ repo_url }} {{ repo_url }}\n{% endif %}{% if git_ui_enabled and version_tag %}\n=> ../repository/refs.gmi#tag-{{ version_tag }} Browse {{ version_tag }}\n{% endif %}{% if has_docs %}\n## Documentation\n=> docs/ API docs\n{% if has_docs_tarball %}\n=> docs.tar.gz Download docs.tar.gz\n{% endif %}\n{% endif %}{% if has_dist %}\n## Downloads\n{% for cat in dist_categories %}\n{% if cat.category %}\n### {{ cat.category }}\n{% endif %}\n{% for group in cat.groups %}\n{% if group.name %}\n* {{ group.name }}\n{% endif %}{% if group.comment %}\n{{ group.comment }}\n{% endif %}\n{% for file in group.files %}\n=> dist/{{ file.name }} {{ file.name }} ({{ file.size_human }})\n{% endfor %}\n{% endfor %}\n{% endfor %}\n{% endif %}\n{{ readme_content | safe }}\n{% if changelog_content %}\n## Changes in {{ version }}\n\n{{ changelog_content | safe }}\n{% endif %}\n";