{"id":15283767,"url":"https://github.com/seapagan/mkdocs-latest-git-tag-plugin","last_synced_at":"2025-04-06T01:11:42.639Z","repository":{"id":182937832,"uuid":"656241743","full_name":"seapagan/mkdocs-latest-git-tag-plugin","owner":"seapagan","description":"MkDocs Plugin to insert the latest Tag from the current Git repository","archived":false,"fork":false,"pushed_at":"2023-10-17T20:39:17.000Z","size":1331,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T08:36:06.849Z","etag":null,"topics":["git","mkdocs","mkdocs-plugin","plugin","tags"],"latest_commit_sha":null,"homepage":"https://seapagan.github.io/mkdocs-latest-git-tag-plugin/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seapagan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-20T14:37:38.000Z","updated_at":"2023-06-27T19:14:22.000Z","dependencies_parsed_at":"2024-11-16T17:36:40.106Z","dependency_job_id":"c2411566-31b8-431a-8a3c-6087665ca5fb","html_url":"https://github.com/seapagan/mkdocs-latest-git-tag-plugin","commit_stats":null,"previous_names":["seapagan/mkdocs-latest-git-tag-plugin"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seapagan%2Fmkdocs-latest-git-tag-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seapagan%2Fmkdocs-latest-git-tag-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seapagan%2Fmkdocs-latest-git-tag-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seapagan%2Fmkdocs-latest-git-tag-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seapagan","download_url":"https://codeload.github.com/seapagan/mkdocs-latest-git-tag-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419872,"owners_count":20936013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","mkdocs","mkdocs-plugin","plugin","tags"],"created_at":"2024-09-30T14:47:18.889Z","updated_at":"2025-04-06T01:11:42.619Z","avatar_url":"https://github.com/seapagan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MkDocs Plugin : `latest-git-tag`\n\n[![PyPI version](https://badge.fury.io/py/mkdocs-latest-git-tag-plugin.svg)](https://badge.fury.io/py/mkdocs-latest-git-tag-plugin)\n\nThis is a simple [MkDocs](https://www.mkdocs.org/) plugin that just gets the\nmost recent `Tag` from the local Git repository and makes it available as a\nmarkdown tag in the template.\n\nThe idea behind this is that GitHub uses the `Tag` to name the release and,\ntherefore we can use it to display the version of the documentation that\ncorresponds to the release.\n\nThe Tag is just returned as a string with no formatting applied. If none is\nfound, it returns \"No Tags found\"\n\nThere is a [Demo Site](https://seapagan.github.io/mkdocs-latest-git-tag-plugin/)\n\n## Installation\n\nInstall the package with pip:\n\n```bash\npip install mkdocs-latest-git-tag-plugin\n```\n\nor, if you are using [Poetry](https://python-poetry.org):\n\n```bash\npoetry add mkdocs-latest-git-tag-plugin --group dev\n```\n\n## Usage\n\nActivate the plugin in your `mkdocs.yml`:\n\n```yaml\nplugins:\n  - latest-git-tag\n```\n\n \u003e If you have no `plugins` entry in your config file yet, you'll likely also\nwant to add the `search` plugin. MkDocs enables it by default if  here is no\n`plugins` entry set.\n\nThen, in your template, you can use the `{{ latest_git_tag }}` variable:\n\n```markdown\n# My Project\n\nVersion: {{ latest_git_tag }}\n```\n\nThe spaces around the tag are optional and it is case insensitive.\n\n## Configuration\n\nAt this time there are no configuration options.\n\n## License\n\nThis is released under the MIT License. See the bundled LICENSE file for more\ndetails.\n\n## TODO\n\n- [ ] Add tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseapagan%2Fmkdocs-latest-git-tag-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseapagan%2Fmkdocs-latest-git-tag-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseapagan%2Fmkdocs-latest-git-tag-plugin/lists"}