[Git][openmairie/openelec-documentation][5.13] 5.12 > 5.13

0 views
Skip to first unread message

Florent Michon (@flohcim)

unread,
Nov 23, 2023, 12:29:47 PM11/23/23
to openmairi...@googlegroups.com

Florent Michon pushed to branch 5.13 at openMairie / openelec-documentation

Commits:

  • c0540cb7
    by Florent Michon at 2023-11-23T17:29:41+00:00
    5.12 > 5.13

4 changed files:

Changes:

  • .gitlab-ci.yml
    1 1
     image: python:latest
    
    2 2
     
    
    3
    -before_script:
    
    4
    -  - python -V  # Print out python version for debugging
    
    5
    -  - pip install virtualenv
    
    6
    -  - virtualenv venv
    
    7
    -  - source venv/bin/activate
    
    8
    -  - pip install -q -r requirements.txt
    
    9
    -
    
    10 3
     test:
    
    4
    +  before_script:
    
    5
    +    - python -V
    
    6
    +    - pip install virtualenv
    
    7
    +    - virtualenv venv
    
    8
    +    - source venv/bin/activate
    
    9
    +    - pip install -q -r requirements.txt
    
    11 10
       script:
    
    12 11
         - sphinx-build -nW -b html -d _build/doctrees source _build/html
    
    12
    +
    
    13
    +pages:
    
    14
    +  stage: build
    
    15
    +  cache:
    
    16
    +    key: gitlab-pages
    
    17
    +    paths: [public]
    
    18
    +  before_script:
    
    19
    +    - python -V
    
    20
    +    - pip install virtualenv
    
    21
    +    - virtualenv venv
    
    22
    +    - source venv/bin/activate
    
    23
    +    - pip install -q -r requirements.txt
    
    24
    +    - mkdir -p public/previews
    
    25
    +    - rm -rf public/previews/$CI_COMMIT_REF_SLUG
    
    26
    +  script:
    
    27
    +    - sphinx-build -b html source public/previews/$CI_COMMIT_REF_SLUG
    
    28
    +    - cd public/previews/
    
    29
    +    - echo "<html><body><h1>$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME</h1><p>Official build documentation is on readthedocs.org, this page is only here for dev purpose :</p><ul>" > ../index.html
    
    30
    +    - find -type d -mindepth 1 -maxdepth 1 -exec echo "<li><a href='previews/{}'>{}</a></li>" \; >> ../index.html
    
    31
    +    - echo "</ul></body></html>" >> ../index.html
    
    32
    +  environment:
    
    33
    +    name: pages/$CI_COMMIT_BRANCH
    
    34
    +    action: start
    
    35
    +    url: $CI_PAGES_URL/$CURRENT_CONTENT_PATH
    
    36
    +    on_stop: pages-clean-preview
    
    37
    +  resource_group: one-gitlab-pages-for-all-branches
    
    38
    +  artifacts:
    
    39
    +    paths:
    
    40
    +      - public
    
    41
    +
    
    42
    +pages-clean-preview:
    
    43
    +  stage: build
    
    44
    +  cache:
    
    45
    +    key: gitlab-pages
    
    46
    +    paths: [public]
    
    47
    +  variables:
    
    48
    +    GIT_STRATEGY: none
    
    49
    +    FOLDER_TO_DELETE: previews/$CI_COMMIT_REF_SLUG
    
    50
    +  script:
    
    51
    +    - rm -rf public/$FOLDER_TO_DELETE
    
    52
    +  environment:
    
    53
    +    name: pages/$CI_COMMIT_BRANCH
    
    54
    +    action: stop
    
    55
    +  rules:
    
    56
    +    - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
    
    57
    +      when: manual
    
    58
    +      allow_failure: true

  • README.rst
    1
    -Documentation openElec version 5.12
    
    1
    +Documentation openElec version 5.13
    
    2 2
     ===================================
    
    3 3
     
    
    4 4
     
    
    5
    -.. image:: http://readthedocs.org/projects/openelec/badge/?version=5.12
    
    6
    -    :target: http://openmairie.readthedocs.io/projects/openelec/fr/5.12/?badge=5.12
    
    5
    +.. image:: http://readthedocs.org/projects/openelec/badge/?version=5.13
    
    6
    +    :target: http://openmairie.readthedocs.io/projects/openelec/fr/5.13/?badge=5.13
    
    7 7
         :alt: Documentation Status
    
    8 8
     

  • source/conf.py
    ... ... @@ -43,7 +43,7 @@ source_suffix = '.rst'
    43 43
     master_doc = 'index'
    
    44 44
     
    
    45 45
     # General information about the project.
    
    46
    -project = u'openElec 5.12'
    
    46
    +project = u'openElec 5.13'
    
    47 47
     copyright = u'2004-2023, openMairie'
    
    48 48
     
    
    49 49
     # The version info for the project you're documenting, acts as replacement for
    
    ... ... @@ -51,9 +51,9 @@ copyright = u'2004-2023, openMairie'
    51 51
     # built documents.
    
    52 52
     #
    
    53 53
     # The short X.Y version.
    
    54
    -version = '5.12'
    
    54
    +version = '5.13'
    
    55 55
     # The full version, including alpha/beta/rc tags.
    
    56
    -release = '5.12'
    
    56
    +release = '5.13'
    
    57 57
     
    
    58 58
     # The language for content autogenerated by Sphinx. Refer to documentation
    
    59 59
     # for a list of supported languages.
    

  • source/index.rst
    1 1
     .. openelec documentation master file.
    
    2 2
     
    
    3 3
     ===========================
    
    4
    -openElec 5.12 documentation
    
    4
    +openElec 5.13 documentation
    
    5 5
     ===========================
    
    6 6
     
    
    7 7
     .. note::
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help

Reply all
Reply to author
Forward
0 new messages