-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into hacky-fix-relative-…
…links-in-feed
- Loading branch information
Showing
15 changed files
with
259 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,59 @@ | ||
bug: | ||
- head-branch: | ||
- ^fix | ||
- fix | ||
- ^hotfix | ||
- hotfix | ||
|
||
ci-cd: | ||
- .github/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- .github/** | ||
|
||
dependencies: | ||
- any: ['requirements.txt', 'requirements/*.txt'] | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- requirements/*.txt | ||
- requirements.txt | ||
|
||
documentation: | ||
- docs/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "*.md" | ||
- docs/** | ||
- requirements/documentation.txt | ||
- head-branch: | ||
- ^docs | ||
- documentation | ||
|
||
enhancement: | ||
- head-branch: | ||
- ^feature | ||
- feature | ||
- ^improve | ||
- improve | ||
|
||
packaging: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- MANIFEST.in | ||
- setup.py | ||
- head-branch: | ||
- ^packaging | ||
- packaging | ||
|
||
quality: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- tests/**/* | ||
|
||
tooling: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- ".*" | ||
- codecov.yml | ||
- setup.cfg | ||
- .vscode/**/* | ||
- head-branch: | ||
- ^tooling | ||
- tooling |
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 |
---|---|---|
|
@@ -5,23 +5,28 @@ name: "🐍 Lint and Test" | |
# events but only for the master branch | ||
on: | ||
pull_request: | ||
branches: [main] | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "docs/**" | ||
push: | ||
branches: [main] | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "docs/**" | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
lintest: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
python-version: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
|
@@ -56,4 +61,11 @@ jobs: | |
run: python -m pytest | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
uses: codecov/[email protected] | ||
with: | ||
env_vars: PYTHON | ||
flags: unittests | ||
name: Code Coverage for unittests on python-${{ matrix.python-version }}] | ||
env: | ||
PYTHON: ${{ matrix.python-version }} | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block extrahead %} | ||
{% if "rss" in config.plugins %} | ||
<link | ||
rel="alternate" | ||
type="application/feed+json" | ||
title="JSON feed" href="{{ 'feed_json_created.json' | url }}" | ||
/> | ||
<link | ||
rel="alternate" | ||
type="application/feed+json" | ||
title="JSON feed of updated content" | ||
href="{{ 'feed_json_updated.json' | url }}" /> | ||
{% endif %} | ||
{% endblock %} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Page without meta with early delimiter | ||
|
||
<!-- more --> | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Project information | ||
site_name: MkDocs RSS Plugin - TEST | ||
site_description: Basic setup to test against MkDocs RSS plugin | ||
site_author: Julien Moura (Guts) | ||
site_url: https://guts.github.io/mkdocs-rss-plugin | ||
copyright: "Guts - In Geo Veritas" | ||
|
||
# Repository | ||
repo_name: "guts/mkdocs-rss-plugin" | ||
repo_url: "https://github.com/guts/mkdocs-rss-plugin" | ||
|
||
use_directory_urls: true | ||
|
||
plugins: | ||
- rss: | ||
abstract_delimiter: "" | ||
|
||
theme: | ||
name: readthedocs | ||
|
||
# Extensions to enhance markdown | ||
markdown_extensions: | ||
- meta |
Oops, something went wrong.