Comments (3)
Screenshot from earlier 7d43c83 build.
from doc-gen4.
The small stuff is not generated by doc-gen itself @xubaiw, the issue here is that your input files such as UCD/NameList.txt in your Unicode package do contain HTML tags, since you are statically including this into your code the generated equations will in turn contain these tags as well which causes this visual bug.
This basically comes down to: If your equations contain HTML in a way that the browser can interpret as syntactically correct your stuff will be represented in a wrong way. I'm guessing this can be fixed by escaping stuff here but I'm entirely unsure how to do this.
from doc-gen4.
An alternative could be a an attribute that explicitly tells doc-gen to not generate equations about the declaration that is about to follow. This would also be reasonable in some regions of Mathlib where the equations that are generated are just insanely huge and not helpful at all like e.g. here: https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/BinaryHeap.html#BinaryHeap.heapifyDown
from doc-gen4.
Related Issues (20)
- important type info is omitted HOT 3
- error: no such file or directory HOT 4
- ERROR: could not execute external process 'cc' HOT 2
- @[reducible] attributes are not shown HOT 1
- Hyperlinking not working when an up-arrow occurs before the declaration name
- Implement references / bibliography HOT 7
- Unclear error when running in a git repo without "origin" remote HOT 1
- Lean statement not rendered for theorems defined as `def thm : Prop := statement`
- Improve UX for long instance names HOT 1
- instances for vs instances mentioning
- Show data fields only to avoid "not rendered due to size" HOT 1
- Put inductive/structure documentation before field documentation HOT 3
- Auto-generated lemmas appear before declaration HOT 1
- De-indent comment block HOT 3
- Empty instances for HOT 1
- Escape sequences are handled incorrectly in LaTeX HOT 9
- Support for protected modifier
- auto-generated structure projections not appearing HOT 2
- noncomputable section isn't shown anywhere HOT 2
- Clicking links in the navbar or using the "Go to source" link produces an error in VS Code webviews
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doc-gen4.