Skip to content

Commit ab6da97

Browse files
committed
Replace changelog by release notes
1 parent 2f6754f commit ab6da97

33 files changed

Lines changed: 5188 additions & 3385 deletions

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ graft resources
33
graft macros
44
graft plugins
55
include conftest.py
6-
include CHANGELOG.md
76
include CONTRIBUTING.md
87
include requirements.txt
98
include *.desktop

doc/conf.py

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import os
66
import os.path as osp
7-
import shutil
87
import sys
98
import zipfile
109

@@ -23,42 +22,6 @@
2322
# (documentation build is not the right place for validation)
2423
gcfg.set_validation_mode(gcfg.ValidationMode.DISABLED)
2524

26-
# -- Copy CHANGELOG.md to doc folder ------------------------
27-
#
28-
# Note: An alternative to this could be to create a 'changelog.rst' file
29-
# containing the following:
30-
#
31-
# .. include:: ../../CHANGELOG.md
32-
# :parser: myst_parser.sphinx_
33-
#
34-
# But, due to the on-the-fly parsing of the markdown file, this alternative approach
35-
# is not compatible with the internationalization process of the documentation (see
36-
# https://github.com/DataLab-Platform/DataLab/issues/108). That is why we copy the
37-
# CHANGELOG.md file to the doc/contributing folder and remove it after the build.
38-
39-
40-
def copy_changelog(app):
41-
"""Copy CHANGELOG.md to doc/contributing folder."""
42-
docpath = osp.abspath(osp.dirname(__file__))
43-
dest_fname = osp.join(docpath, "changelog.md")
44-
if osp.exists(dest_fname):
45-
os.remove(dest_fname)
46-
shutil.copyfile(osp.join(docpath, "..", "CHANGELOG.md"), dest_fname)
47-
app.env.temp_changelog_path = dest_fname
48-
49-
50-
def cleanup_changelog(app, exception):
51-
"""Remove CHANGELOG.md from doc/contributing folder."""
52-
try:
53-
path = getattr(app.env, "temp_changelog_path", None)
54-
if path and osp.exists(path):
55-
os.remove(path)
56-
except Exception as exc:
57-
print(f"Warning: failed to remove {path}: {exc}")
58-
finally:
59-
if hasattr(app.env, "temp_changelog_path"):
60-
del app.env.temp_changelog_path
61-
6225

6326
def compress_tutorials_data(app):
6427
"""Compress tutorials data folders to zip files in doc/_download directory."""
@@ -96,9 +59,7 @@ def compress_tutorials_data(app):
9659

9760
def setup(app):
9861
"""Setup function for Sphinx."""
99-
app.connect("builder-inited", copy_changelog)
10062
app.connect("builder-inited", compress_tutorials_data)
101-
app.connect("build-finished", cleanup_changelog)
10263

10364
# Exclude outreach directory from LaTeX/PDF builds
10465
def exclude_outreach_from_latex(app):

doc/contributing/gitworkflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ Best Practices
295295

296296
- Clearly differentiate between ``fix/xxx`` (non-urgent fixes) and ``hotfix/xxx`` (critical production fixes).
297297

298-
- When creating the ``release`` branch, update CHANGELOG to indicate which version it targets (e.g., add a comment in the merge commit: "Create release branch for v1.0.x maintenance").
298+
- When creating the ``release`` branch, update release notes to indicate which version it targets (e.g., add a comment in the merge commit: "Create release branch for v1.0.x maintenance").
299299

300-
- The ``release`` branch always represents the current maintenance line. To know which version it targets, check the most recent tag on ``main`` or the CHANGELOG.
300+
- The ``release`` branch always represents the current maintenance line. To know which version it targets, check the most recent tag on ``main`` or the release notes.
301301

302302
Takeaway
303303
--------

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ DataLab has been funded, chronologically, by the following stakeholders:
127127
intro/index
128128
features/index
129129
contributing/index
130-
changelog
130+
release_notes/index
131131

132132
.. only:: html and not latex
133133

doc/locale/fr/LC_MESSAGES/changelog.po

Lines changed: 0 additions & 3336 deletions
This file was deleted.

doc/locale/fr/LC_MESSAGES/contributing/gitworkflow.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: DataLab \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-12-03 14:20+0100\n"
11+
"POT-Creation-Date: 2025-12-03 16:26+0100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language: fr\n"
@@ -235,11 +235,11 @@ msgstr "S'assurer que les corrections de bogues dans ``release`` ou ``main`` son
235235
msgid "Clearly differentiate between ``fix/xxx`` (non-urgent fixes) and ``hotfix/xxx`` (critical production fixes)."
236236
msgstr "Différencier clairement entre ``fix/xxx`` (correctifs non urgents) et ``hotfix/xxx`` (correctifs critiques pour la production)."
237237

238-
msgid "When creating the ``release`` branch, update CHANGELOG to indicate which version it targets (e.g., add a comment in the merge commit: \"Create release branch for v1.0.x maintenance\")."
239-
msgstr "Lors de la création de la branche ``release``, mettre à jour le CHANGELOG pour indiquer la version qu'elle cible (par exemple, ajouter un commentaire dans le commit de fusion : \"Créer une branche de maintenance pour v1.0.x\")."
238+
msgid "When creating the ``release`` branch, update release notes to indicate which version it targets (e.g., add a comment in the merge commit: \"Create release branch for v1.0.x maintenance\")."
239+
msgstr "Lors de la création de la branche ``release``, mettre à jour les notes de version pour indiquer la version qu'elle cible (par exemple, ajouter un commentaire dans le commit de fusion : \"Créer une branche de maintenance pour v1.0.x\")."
240240

241-
msgid "The ``release`` branch always represents the current maintenance line. To know which version it targets, check the most recent tag on ``main`` or the CHANGELOG."
242-
msgstr "La branche ``release`` représente toujours la ligne de maintenance actuelle. Pour savoir quelle version elle cible, vérifiez le tag le plus récent sur ``main`` ou le CHANGELOG."
241+
msgid "The ``release`` branch always represents the current maintenance line. To know which version it targets, check the most recent tag on ``main`` or the release notes."
242+
msgstr "La branche ``release`` représente toujours la ligne de maintenance actuelle. Pour savoir quelle version elle cible, vérifiez le tag le plus récent sur ``main`` ou les notes de version."
243243

244244
msgid "Takeaway"
245245
msgstr "Conclusion"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2023, DataLab Platform Developers
3+
# This file is distributed under the same license as the DataLab package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: DataLab \n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-12-03 16:26+0100\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language: fr\n"
15+
"Language-Team: fr <LL@li.org>\n"
16+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=utf-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Generated-By: Babel 2.17.0\n"
21+
22+
msgid "Release notes"
23+
msgstr "Notes de version"
24+
25+
msgid "This section contains the release notes for all versions of DataLab, documenting new features, improvements, bug fixes, and breaking changes."
26+
msgstr "Cette section contient les notes de version pour toutes les versions de DataLab, documentant les nouvelles fonctionnalités, les améliorations, les correctifs et les changements majeurs."

0 commit comments

Comments
 (0)