Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

some suggestions #10

Open
bobzhang opened this issue Dec 2, 2017 · 3 comments
Open

some suggestions #10

bobzhang opened this issue Dec 2, 2017 · 3 comments

Comments

@bobzhang
Copy link
Member

bobzhang commented Dec 2, 2017

  1. how to create links to some section?
    for example Interop/Embed Raw JavaScrpt section

  2. The syntax highlighting for OCaml code seems not correct, let keyword is colored

  3. For interop examples, can we always make it editable so that both ocaml/js code would displayed

@chenglou
Copy link
Member

chenglou commented Dec 3, 2017

  1. See here: https://github.com/BuckleScript/bucklescript.github.io#bucklescript-website it's the sidebars.json. Then you add a md file in the docs folder

  2. Yeah that can be tweaked. cc @rickyvetter

  3. You mean an interactive code block?

@yawaramin
Copy link
Contributor

Could we add a level to the sidebar TOC? I find that most useful stuff is in level 3. When I'm looking for something I kinda have to make a guess about which level 2 section it might fall under--or just search if I remember a keyword.

@chenglou
Copy link
Member

Search will have to do for the medium term. Docusaurus doesn't allow an extra level (keeps a few things quite simple though) yet

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

No branches or pull requests

3 participants