Partially fix anchors/fragments/targets/slugs.

The `<a name="...">` approach has the problem that that tag is included
not just in the header itself but also in the table-of-contents entry
for that header. This means that links resolve to the ToC, so they go
essentially nowhere.

(_Plus_, the parser includes the HTML tags when it generates the anchor.
This results in anchors like
"#bound-of-an-unbounded-wildcard-a-name-unbounded-wildcard-a.")

The syntax I use in this commit is from
https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#targets-and-cross-referencing

This change still doesn't make clicking the "permalink" icon use _our_
preferred anchor name. Instead, it sticks to the autogenerated one. To
fix that, we'd probably need to follow these instructions:
https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#auto-generated-header-anchors

That would let us hardcode the anchor text for any sections that we want
to.
1 file changed
tree: 20c2cbfb35402f6841a79efce784ddc5f5422ffe
  1. .github/
  2. cftojspecify/
  3. docs/
  4. gradle/
  5. samples/
  6. src/
  7. .gitattributes
  8. .gitignore
  9. AUTHORS
  10. build.gradle
  11. CONTRIBUTING.md
  12. gradle.properties
  13. gradlew
  14. gradlew.bat
  15. LICENSE
  16. README.md
  17. settings.gradle
README.md

JSpecify

This project is a placeholder. We are using the issue tracker for some of our conversations, but the existing code in the repo does not reflect our current design decisions, and we have many decisions left to make.

An artifact of well-named and well-specified annotations to power static analysis checks.

Our focus during 2018-2022 is annotations for nullness.

This is not an officially supported product of any of the participant organizations.

How to build

Simply run ./gradlew to build artifacts. Or run ./gradlew publishToMavenLocal to install artifacts to your Local Maven Repository.