Skip to content

Releases: nhn/toast-ui.doc

v1.1.1

12 Jun 07:15
Compare
Choose a tag to compare

Features

Bug Fixes

  • a0dc172 Fix: remove space under footer (fix #2) (#12)
  • f382919 Fix: build script to run using gatsby-cli v1.12 (fix #9) (#11)

v1.1.0

29 Apr 10:53
Compare
Choose a tag to compare

Features

  • d0e125c Feat: add the globalErrorLogVariable option to inject script for catching error of the example page

Refs. https://github.com/nhn/toast-ui.doc#configuring-the-examples-page

v1.0.1

28 Oct 09:20
Compare
Choose a tag to compare

Features

  • 3eae672 Feat: update package.json files

v1.0.0

05 Sep 11:46
Compare
Choose a tag to compare

New Release TOAST UI Doc πŸŽ‰πŸŽ‰πŸŽ‰

TOAST UI Doc is a documenting tool used with TOAST UI products, and is a module that creates a single documentation by combining the API document created by parsing the JSDoc comments with the example page. TOAST UI Doc uses the documentation.js and Gatsby. The layouts TOAST UI Doc is created with Gatsby to be a React component. Simply by configuring the options and running TOAST UI Doc, you can easily create documentations for any JavaScript library.

🎨 Features

API Page

TOAST UI Doc parses the JSDoc composed within the JavaScript file to create the API page. The API page can mainly be categorized into seven types, and is represented as a menu in the Local Navigation Bar (LNB).

  • MODULES
  • EXTERNALS
  • CLASSES
  • NAMESPACES
  • MIXINS
  • TYPEDEF

Furthermore, each type has a submenu, and you can easily check the inheritance or mixin relationship, member (property, method) and other custom event API information.

  • EXTENDS
  • MIXES
  • STATIC PROPERTIES
  • STATIC METHODS
  • INSTANCE METHODS
  • EVENTS

TOAST UI Doc reads the HTML file to directly create an Examples page. If you use appropriate selectors for each Example page, you can display HTML and JavaScript snippets within the page. The Try-it-yourself demos and each code snippet are provided as tabs.

Search Feature

You can use the search bar in the top portion of the local navigation bar (LNB) to search for any API and Example pages provided by TOAST UI Doc. TOAST UI Doc also comes with auto-complete feature to facilitate faster transversals between API and Examples pages for users.

Permalink

TOAST UI Doc provides a Github Permalink feature. The permalinks can be found at the top right of each API area, and links the location where the JSDoc file is to the Github repository. Permalinks can be useful when directly accessing the API codes and JSDoc contents for reference.

Customizable Layout Contents

TOAST UI Doc layouts can mainly be categorized in Header, Footer, LNB, Contents (Main, API, and Examples). You can use the config file to readily customize which content goes in Header and Footer areas. Furthermore, if necessary, you can configure whether or not to expose the Examples page.

Simple Builds

TOAST UI Doc comes with Gatsby built into it, so when the build takes place, Gatsby script runs automatically to compile documentation files into a folder. By uploading the created folder onto the Github Pages or onto a server, you can easily create your public API page.

πŸ‘€ Preview

You can find TOAST UI Doc on the page below!

v1.0.0-alpha.0

22 Aug 07:52
Compare
Choose a tag to compare
v1.0.0-alpha.0 Pre-release
Pre-release

The documentation generator used by the TOAST UI product, which allows you to easily create JavaScript library documents using the TOAST UI Doc.