Commit 8b149837 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

Update from templates, move to codeberg

parent 639d3ee3
Loading
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ html_theme_options = {
            "type": "fontawesome",
        },
        {
            "name": "BitBucket",
            "url": "https://bitbucket.org/sandfox/" + repo,
            "icon": "fa-brands fa-bitbucket",
            "name": "Codeberg",
            "url": "https://codeberg.org/sandfox/" + repo,
            "icon": "fa-solid fa-mountain",
            "type": "fontawesome",
        },
        {
@@ -57,6 +57,13 @@ if packagist:
        "icon": "https://img.shields.io/packagist/dm/" + packagist + "?style=flat-square",
        "type": "url",
    })
if npmjs:
    html_theme_options['icon_links'].append({
        "name": "NPM",
        "url": "https://www.npmjs.com/package/" + npmjs,
        "icon": "https://img.shields.io/npm/dm/" + npmjs + "?style=flat-square",
        "type": "url",
    })
html_context = {
    'current_version': os.environ.get("READTHEDOCS_VERSION_NAME"),
    'gitlab_user': "sandfox",
+2 −1
Original line number Diff line number Diff line
project = 'Path Library'
repo = 'php-path'
packagist = False
packagist = 'arokettu/path'
npmjs = False
+3 −3
Original line number Diff line number Diff line
Path Library
############

|Packagist| |GitLab| |GitHub| |Bitbucket| |Gitea|
|Packagist| |GitLab| |GitHub| |Codeberg| |Gitea|

A PHP library to work with absolute and relative paths.

@@ -36,7 +36,7 @@ The library is available as open source under the terms of the `MIT License`_.
   :target:     https://github.com/arokettu/php-path
.. |GitLab|     image:: https://img.shields.io/badge/get%20on-GitLab-informational.svg?style=flat-square&logo=gitlab
   :target:     https://gitlab.com/sandfox/php-path
.. |Bitbucket|  image:: https://img.shields.io/badge/get%20on-Bitbucket-informational.svg?style=flat-square&logo=bitbucket
   :target:     https://bitbucket.org/sandfox/php-path
.. |Codeberg|   image:: https://img.shields.io/badge/get%20on-Codeberg-informational.svg?style=flat-square&logo=codeberg
   :target:     https://codeberg.org/sandfox/php-path
.. |Gitea|      image:: https://img.shields.io/badge/get%20on-Gitea-informational.svg?style=flat-square&logo=gitea
   :target:     https://sandfox.org/sandfox/php-path