-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update quartodoc to fix CI * drop official support for python 3.8 * update changelog * remove nonexisting target version * update pylint and some of its options
- Loading branch information
1 parent
ae00f26
commit 16b005b
Showing
11 changed files
with
23 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/.quarto/ | ||
_site | ||
api/* | ||
CHANGELOG.md | ||
api/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import os | ||
|
||
# Remove CHANGELOG | ||
os.remove("CHANGELOG.md") | ||
os.remove("CHANGELOG.qmd") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import os | ||
import shutil | ||
|
||
# Copy CHANGELOG file to 'docs' | ||
# Copy CHANGELOG file to 'docs' and change its extension to '.qmd' | ||
shutil.copyfile("../CHANGELOG.md", "CHANGELOG.md") | ||
os.rename("CHANGELOG.md", "CHANGELOG.qmd") | ||
|
||
# Remove TOC from it | ||
lines = """--- | ||
toc: false | ||
pagetitle: "Changelog" | ||
--- | ||
""" | ||
with open("CHANGELOG.md", "r+") as file: | ||
file_data = file.read() | ||
file.seek(0, 0) | ||
file.write(lines + "\n" + file_data) | ||
with open("CHANGELOG.qmd", "r+") as file: | ||
file_data = file.read() | ||
file.seek(0, 0) | ||
file.write(lines + "\n" + file_data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters