Comments (1)
Hi @feuermandel ,
Everything is alright with the package actually, but I made a change in the example and didn't carry it quite through, apparently. I use the wiggly
example in the guide and changed the calling code from
#let docs = tidy.parse-module(
read("wiggly.typ"),
name: "wiggly",
scope: (wiggly: wiggly)
)
to
#let docs = tidy.parse-module(
read("wiggly.typ"),
name: "wiggly",
scope: (wiggly: wiggly),
preamble: "import wiggly: *;"
)
Adding this preamble
allows one to call draw-sine()
directly in the docstring examples instead of having to write wiggly.draw-sine()
.
However, I forgot to update the standalone file wiggly-doc.typ
accordingly. Thanks for pointing me to this mistake.
PS: I really dig your name :D
from tidy.
Related Issues (20)
- How to document variadic arguments HOT 8
- `omit-empty-param-descriptions` is ignored HOT 1
- Move mandatory vertical space after function into style HOT 1
- Custom command references HOT 9
- Parsing fails for specific order of functions HOT 2
- Allow additional markup outside docstrings HOT 6
- Allow examples/descriptions after a parameter list
- Use alpha in `type-colors` to support dark mode themes HOT 3
- #example() fails for code that results in content with relative width HOT 4
- Error using `show-example` HOT 3
- Different type labels from official document (`str`→`string`, `int` → `integer`, etc.) HOT 2
- Allow localization through `style-args` for hard-coded strings HOT 2
- Document font dependency (Cascadia Mono) HOT 6
- Support for curried functions (func.with()) HOT 19
- raw elements in examples are explicitly set to `block: true` HOT 5
- Help command: sink parameters cannot be accessed
- Allow users to pass in additional options HOT 7
- Remove `show-example` default HOT 8
- Is it possible to document dictionary schema? HOT 2
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 tidy.