-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
421 additions
and
65 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,5 +1,5 @@ | ||
# Changes here will be overwritten by Copier | ||
_commit: 1.2.8 | ||
_commit: 1.4.0 | ||
_src_path: gh:pawamoy/copier-uv | ||
author_email: [email protected] | ||
author_fullname: Timothée Mazzucotelli | ||
|
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
File renamed without changes.
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 @@ | ||
--- | ||
name: Documentation update | ||
about: Point at unclear, missing or outdated documentation. | ||
title: "docs: " | ||
labels: docs | ||
assignees: pawamoy | ||
--- | ||
|
||
### Is something unclear, missing or outdated in our documentation? | ||
<!-- A clear and concise description of what the documentation issue is. Ex. I can't find an explanation on feature [...]. --> | ||
|
||
### Relevant code snippets | ||
<!-- If the documentation issue is related to code, please provide relevant code snippets. --> | ||
|
||
### Link to the relevant documentation section | ||
<!-- Add a link to the relevant section of our documentation, or any addition context. --> |
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,18 @@ | ||
--- | ||
name: Change request | ||
about: Suggest any other kind of change for this project. | ||
title: "change: " | ||
assignees: pawamoy | ||
--- | ||
|
||
### Is your change request related to a problem? Please describe. | ||
<!-- A clear and concise description of what the problem is. --> | ||
|
||
### Describe the solution you'd like | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
### Describe alternatives you've considered | ||
<!-- A clear and concise description of any alternative solutions you've considered. --> | ||
|
||
### Additional context | ||
<!-- Add any other context or screenshots about the change request here. --> |
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,6 +5,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | |
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
<!-- insertion marker --> | ||
## [1.1.0](https://github.com/mkdocstrings/autorefs/releases/tag/1.1.0) - 2024-08-20 | ||
|
||
<small>[Compare with 1.0.1](https://github.com/mkdocstrings/autorefs/compare/1.0.1...1.1.0)</small> | ||
|
||
### Deprecations | ||
|
||
- `AUTO_REF_RE` is renamed `AUTOREF_RE` (and updated for an improved version of `fix_refs`) | ||
- `AutoRefInlineProcessor` is renamed `AutorefsInlineProcessor` | ||
|
||
### Features | ||
|
||
- Warn when multiple URLs are found for the same identifier ([c630354](https://github.com/mkdocstrings/autorefs/commit/c6303542018ca835f6941c070accb582f851f6b1) by Markus B). [Issue-35](https://github.com/mkdocstrings/autorefs/issues/35), [PR-50](https://github.com/mkdocstrings/autorefs/pull/50), Co-authored-by: Timothée Mazzucotelli <[email protected]> | ||
|
||
### Bug Fixes | ||
|
||
- Only log "Markdown anchors feature enabled" once ([1c9bda1](https://github.com/mkdocstrings/autorefs/commit/1c9bda1ab4f13c9a5cf5d202de755e5296729654) by Timothée Mazzucotelli). [Issue-44](https://github.com/mkdocstrings/autorefs/issues/44) | ||
|
||
### Code Refactoring | ||
|
||
- Use a custom autoref HTML tag ([e142023](https://github.com/mkdocstrings/autorefs/commit/e14202317dc13dd5eed93b5d7cfd183c87de893f) by Timothée Mazzucotelli). [PR-48](https://github.com/mkdocstrings/autorefs/pull/48) | ||
- Rename AutoRefInlineProcessor to AutorefsInlineProcessor ([ffcaa01](https://github.com/mkdocstrings/autorefs/commit/ffcaa0178b642e423acdc66d35f1e6b207099dc7) by Timothée Mazzucotelli). | ||
- Attach name to processors for easier retrieval ([036b825](https://github.com/mkdocstrings/autorefs/commit/036b825c7994b2586564e8707fbc0b3627c29569) by Timothée Mazzucotelli). | ||
|
||
## [1.0.1](https://github.com/mkdocstrings/autorefs/releases/tag/1.0.1) - 2024-02-29 | ||
|
||
<small>[Compare with 1.0.0](https://github.com/mkdocstrings/autorefs/compare/1.0.0...1.0.1)</small> | ||
|
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,57 @@ | ||
<!-- Giscus --> | ||
<!-- https://squidfunk.github.io/mkdocs-material/setup/adding-a-comment-system/#giscus-integration --> | ||
<div id="feedback" style="display: none;"> | ||
<h2 id="__comments">Feedback</h2> | ||
<script src="https://giscus.app/client.js" | ||
data-repo="mkdocstrings/autorefs" | ||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMzc2NTE2NjM=" | ||
data-category="Documentation" | ||
data-category-id="DIC_kwDOFCAnz84Chq2b" | ||
data-mapping="pathname" | ||
data-strict="1" | ||
data-reactions-enabled="0" | ||
data-emit-metadata="0" | ||
data-input-position="top" | ||
data-theme="preferred_color_scheme" | ||
data-lang="en" | ||
data-loading="lazy" | ||
crossorigin="anonymous" | ||
async> | ||
</script> | ||
|
||
<!-- Synchronize Giscus theme with palette --> | ||
<script> | ||
var giscus = document.querySelector("script[src*=giscus]") | ||
|
||
// Set palette on initial load | ||
var palette = __md_get("__palette") | ||
if (palette && typeof palette.color === "object") { | ||
var theme = palette.color.scheme === "slate" | ||
? "transparent_dark" | ||
: "light" | ||
|
||
// Instruct Giscus to set theme | ||
giscus.setAttribute("data-theme", theme) | ||
} | ||
|
||
// Register event handlers after documented loaded | ||
document.addEventListener("DOMContentLoaded", function() { | ||
var ref = document.querySelector("[data-md-component=palette]") | ||
ref.addEventListener("change", function() { | ||
var palette = __md_get("__palette") | ||
if (palette && typeof palette.color === "object") { | ||
var theme = palette.color.scheme === "slate" | ||
? "transparent_dark" | ||
: "light" | ||
|
||
// Instruct Giscus to change theme | ||
var frame = document.querySelector(".giscus-frame") | ||
frame.contentWindow.postMessage( | ||
{ giscus: { setConfig: { theme } } }, | ||
"https://giscus.app" | ||
) | ||
} | ||
}) | ||
}) | ||
</script> | ||
</div> |
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 +1,6 @@ | ||
--- | ||
hide: | ||
- feedback | ||
--- | ||
|
||
--8<-- "README.md" |
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,14 @@ | ||
const feedback = document.forms.feedback; | ||
feedback.hidden = false; | ||
|
||
feedback.addEventListener("submit", function(ev) { | ||
ev.preventDefault(); | ||
const commentElement = document.getElementById("feedback"); | ||
commentElement.style.display = "block"; | ||
feedback.firstElementChild.disabled = true; | ||
const data = ev.submitter.getAttribute("data-md-value"); | ||
const note = feedback.querySelector(".md-feedback__note [data-md-value='" + data + "']"); | ||
if (note) { | ||
note.hidden = false; | ||
} | ||
}) |
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,3 +1,8 @@ | ||
--- | ||
hide: | ||
- feedback | ||
--- | ||
|
||
# License | ||
|
||
``` | ||
|
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
Oops, something went wrong.