Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docstrings #53

Open
bdarcus opened this issue May 12, 2023 · 6 comments
Open

Add docstrings #53

bdarcus opened this issue May 12, 2023 · 6 comments

Comments

@bdarcus
Copy link

bdarcus commented May 12, 2023

When you get a chance, it'd be nice to have tsdoc/jsdoc docstrings in the codebase :-)

Also:

man djot
No manual entry for djot
@jgm
Copy link
Owner

jgm commented May 12, 2023

See doc/djot.1 for the man page.
If there's a way to get npm to install this properly, let me know.

@bdarcus
Copy link
Author

bdarcus commented May 12, 2023

@jgm
Copy link
Owner

jgm commented May 13, 2023

Care to make a PR?

@bdarcus
Copy link
Author

bdarcus commented May 13, 2023 via email

@bdarcus
Copy link
Author

bdarcus commented May 13, 2023

Did a little digging. It could have something to do with the fact I'm using pnpm, though I haven't come across anything to that effect.

Here's what its installation directory tree looks like. Seems it puts the man doc in doc; maybe that's it?

~/.local/share/pnpm/global/5/node_modules/@djot/djottree
.
├── dist
│   └── djot.js
├── doc
│   └── djot.1
├── lib
│   ├── ast.js
│   ├── attributes.js
│   ├── block.js
│   ├── cli.js
│   ├── djot-renderer.js
│   ├── event.js
│   ├── filter.js
│   ├── find.js
│   ├── html.js
│   ├── index.js
│   ├── inline.js
│   ├── options.js
│   ├── pandoc.js
│   ├── parse.js
│   └── version.js
├── LICENSE
├── node_modules
├── package.json
├── README.md
└── types
    ├── ast.d.ts
    ├── attributes.d.ts
    ├── block.d.ts
    ├── cli.d.ts
    ├── djot-renderer.d.ts
    ├── event.d.ts
    ├── filter.d.ts
    ├── find.d.ts
    ├── html.d.ts
    ├── index.d.ts
    ├── inline.d.ts
    ├── options.d.ts
    ├── pandoc.d.ts
    ├── parse.d.ts
    └── version.d.ts

I'll dig a little more later ...

@jgm
Copy link
Owner

jgm commented May 20, 2023

You probably just need to adjust your MANPATH so that it looks in this directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants