add mdbook example
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# {{name}} -- Branches
|
||||
|
||||
| Branch | Hash | Summary |
|
||||
| --- | --- | --- |
|
||||
{% for entry in branches | sort(attribute="ts_utc") | reverse -%}
|
||||
| {{entry.ref_name}} | {{entry.short_hash}} | ({{entry.summary}}) |
|
||||
{% endfor -%}
|
||||
@@ -0,0 +1,7 @@
|
||||
# {{name}} -- Commits
|
||||
|
||||
| Hash | Summary |
|
||||
| --- | --- |
|
||||
{% for entry in history -%}
|
||||
| {{entry.short_hash}} | ({{entry.summary}}) |
|
||||
{% endfor -%}
|
||||
@@ -0,0 +1,11 @@
|
||||
# {{name}} -- Overview
|
||||
|
||||
{{metadata.description}}
|
||||
|
||||
## Recent commits (10 of {{history | length}})
|
||||
|
||||
{% for entry in history -%}
|
||||
{% if loop.index0 < 10 -%}
|
||||
- {{entry.short_hash}}: {{entry.summary}}
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
@@ -0,0 +1,10 @@
|
||||
# Summary
|
||||
|
||||
# Git Repositories
|
||||
|
||||
{% for repo in repos | sort(attribute="name") | reverse -%}
|
||||
- [{{repo.name}}]({{repo.name}}/about.md)
|
||||
- [history]({{repo.name}}/history.md)
|
||||
- [branches]({{repo.name}}/branches.md)
|
||||
- [tags]({{repo.name}}/tags.md)
|
||||
{% endfor -%}
|
||||
@@ -0,0 +1,7 @@
|
||||
# {{name}} -- Tags
|
||||
|
||||
| Tag | Hash | Summary |
|
||||
| --- | --- | --- |
|
||||
{% for entry in tags | sort(attribute="ts_utc") | reverse -%}
|
||||
| {{entry.ref_name}} | {{entry.short_hash}} | ({{entry.summary}}) |
|
||||
{% endfor -%}
|
||||
Reference in New Issue
Block a user