bud icon indicating copy to clipboard operation
bud copied to clipboard

Move docs off notion into docusaurus or something?

Open endigma opened this issue 2 years ago • 9 comments

Notion is a dumpster fire, you have full access to github pages and a million other things, please setup something actually usable. Docusaurus, Jekyll, Hugo and a bunch of other SSGs will create docs (can even be searchable) from markdown source (which I'm p sure you can export from Notion).

endigma avatar May 14 '22 12:05 endigma

@endigma thanks for your comment. Your tone coming over text is a bit harsh, but I'll assume best intentions.

Notion is a temporary solution to be able to share Bud with everyone earlier. I also like the public commenting feature that Notion provides that the other solutions don't.

The documentation should be built with Bud though, dontchya think? 😉

matthewmueller avatar May 15 '22 04:05 matthewmueller

Unless you support markdown source, I'd suggest against it. Some people willing to contribute may not care about sveltekit or react or whatever else is supported, and markdown is more or less the universal language of docs at this point. In addition, readable as plain text.

endigma avatar May 15 '22 13:05 endigma

In addition, a lot of pre-existing software exists that supports full text search and static site generation

endigma avatar May 15 '22 13:05 endigma

Docs will be in /docs as markdown, mdx, or potentially https://markdoc.io/. They'll be pre-rendered to either HTML or Svelte before deploying, depending on how much interactivity is needed.

Docs will also be one page (multiple markdown files) for as long as possible to allow for cmd + f.

matthewmueller avatar May 15 '22 14:05 matthewmueller

Agolia is free for OSS, there's also a few go document search libraries

endigma avatar May 15 '22 17:05 endigma

I came here to ask the same question, more or less.

To be honest with you, Notion behaves...weird, at least in my case.

I try to move the page up or down with my arrow keys, but would insist on following URL TOC type of thing and while I am in the middle of the page, it takes me straight on top which is so darn annoying (excuse my exasperation, but has happened thrice in a row :laughing: ).

It would be really convenient to have it inside docs as a markdown file or even as generated HTML for the sake of maintaining syntax highlighting styling.

stefanos82 avatar May 15 '22 19:05 stefanos82

I try to move the page up or down with my arrow keys, but would insist on following URL TOC type of thing and while I am in the middle of the page, it takes me straight on top which is so darn annoying (excuse my exasperation, but has happened thrice in a row 😆 ).

Yes agreed, it's really bad UX. I'll get this switched over soon!

matthewmueller avatar May 16 '22 05:05 matthewmueller

I recommend using https://squidfunk.github.io/mkdocs-material/

It is a theme for mkdocs that has many features build it, some include:

  • Diagrams using mermaid.js
  • Various formating
  • Visual enhancements for better readability

There is more in the reference

The package builds with one command and can be deployed easily to github pages with actions as per docs.

djboboch avatar May 17 '22 22:05 djboboch

There is another alternative: https://docsify.js.org/

  • Themeable
  • Searchable
  • No static HTML compilation required

omar391 avatar Aug 14 '22 12:08 omar391