Skip to content

Commit

Permalink
cutting a 2023 branch that can be deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
polyester committed May 16, 2024
1 parent a1594f0 commit d64a2c6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: build/deploy training.plone.org
on:
push:
branches:
- "main"
- "2023"
workflow_dispatch:

jobs:
build_deploy:
runs-on: ubuntu-latest
environment:
name: training.plone.org
url: https://training.plone.org
environment:
name: 2023.training.plone.org
url: https://2023.training.plone.org
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
cache: "pip"

- name: Install dependencies
run: |
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
[![Testing Status](https://github.com/plone/training/actions/workflows/test.yml/badge.svg?branch=main "Testing Status")](https://github.com/plone/training/actions/workflows/test.yml)
[![Testing Status](https://github.com/plone/training/actions/workflows/test.yml/badge.svg?branch=2023 "Testing Status")](https://github.com/plone/training/actions/workflows/test.yml)

# Training

[training.plone.org](https://training.plone.org/) is a collection of different trainings, developed and created by the Plone Community.


## Contribute

A guide on how to contribute to the trainings can be found in [Contributing to Plone Trainings Documentation](https://training.plone.org/contributing/).


## Support

If you have issues, please open an issue in our [Issue Tracker](https://github.com/plone/training/issues) or ask a question on our [Community Forum, Training category](https://community.plone.org/c/training/46).


## License

The project is licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/) by the [Plone Foundation](https://plone.org).


## The landing page

The code for the landing page at https://training.plone.org is in another repository at https://github.com/plone/training.plone.org.
The code for the landing page at <https://training.plone.org> is in another repository at <https://github.com/plone/training.plone.org>.
15 changes: 8 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# -- Project information -----------------------------------------------------

project = "Plone Training"
project = "Plone Training 2023"
copyright = """The text and illustrations in this website are licensed
by the Plone Foundation under a Creative Commons Attribution 4.0
International license"""
Expand All @@ -31,9 +31,9 @@
# built documents.
#
# The short X.Y version.
version = year
version = 2023
# The full version, including alpha/beta/rc tags.
release = year
release = 2023

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -162,7 +162,7 @@
]

# Used by sphinx_sitemap to generate a sitemap
html_baseurl = "https://training.plone.org/"
html_baseurl = "https://2023.training.plone.org/"
# https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#customizing-the-url-scheme
sitemap_url_scheme = "{link}"

Expand All @@ -172,6 +172,7 @@
html_static_path = ["_static"]

html_theme_options = {
"announcement": "⚠️ You are viewing the 2023 version of Plone Training. <a href='https://training.plone.org/'>View the latest version</a>. ⚠️",
"logo": {
"text": "Plone Training 2023",
},
Expand Down Expand Up @@ -211,10 +212,10 @@

# -- OpenGraph configuration ----------------------------------

ogp_site_url = "https://training.plone.org/"
ogp_site_url = "https://2023.training.plone.org/"
ogp_description_length = 200
ogp_image = "https://training.plone.org/_static/Plone_logo_square.png"
ogp_site_name = "Plone Training"
ogp_image = "https://2023.training.plone.org/_static/Plone_logo_square.png"
ogp_site_name = "Plone Training 2023"
ogp_type = "website"
ogp_custom_meta_tags = [
'<meta property="og:locale" content="en_US" />',
Expand Down

0 comments on commit d64a2c6

Please sign in to comment.