• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TUI JSDoc Template, Demo: https://nhnent.github.io/tui.jsdoc-template/latest/

TUI JSDoc Template

Toast UI JSDoc template

Demo: https://nhnent.github.io/tui.jsdoc-template/latest/

Install

npm i -D tui-jsdoc-template

Feature

TUI JSDoc template has the following features:

  • Navigation:
    • AutoComplete Searchbox
    • Collapsible
    • Members / Methods / Events
    • API / Examples (Tutorials) switcher
    • Resizable
  • Examples: HTML/JS source tab in example pages

Example

Configuration

(jsdoc page - configuration)

Template

"opts": {
    "template": "node_modules/tui-jsdoc-template"
}

Logo

"templates": {
    "logo": {
        "url": "http://nhnent.github.io/tui.component.tree/latest/styles/logo.png",
        "width": "150px",
        "height": "13px",
        "link": "https://github.com/nhnent/tui.jsdoc-template"
    }
}

Page title

"templates": {
    "name": "Tui JSDoc Template"
}

Footer text

"templates": {
    "footerText": "My awesome footer text"
}

Use collapsible api list

Default: true

"templates": {
    "useCollapsibles": true
}

Tab Names

"templates": {
    "tabNames": {
        "api": "API",
        "tutorials": "Examples"
    }
}

api defaults to the value API and tutorials defaults to the value Examples.

Custom Styles

With a folder structure like this:

static
└── styles
    └── custom.css
    └── another.css

And a config like this:

"templates": {
    "default": {
        "staticFiles": {
            "include": ["static/"]
        }
    },
    "css": [
        "styles/custom.css",
        "styles/another.css",
        "http://example.com/remote.css"
    ]
}

styles/custom.css, styles/another.css, and remote.css get included in the layout. default.staticFiles is the build-in jsdoc way of copying extra files.

Expose the html/js code to example page

If script or div elements have code-js or code-html class, expose their innerHTML.

  1. innerHTML of script.code-js tag
  2. innerHTML of div.code-html tag
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>example</title>
</head>
<body>
    <div class="code-html">
        <h3> Base Example </h3>
        <p> Hello world </p>
    </div>

    <script class="code-js">
        console.log('hello world');
    </script>
</body>
</html>

Development

  1. Use npm run serve or gulp serve command to ascertain realtime.
  2. Api-Example tab, Auto-Complete and Resize functions are written in the static/scripts/tui-doc.js file.

More Repositories

1

tui.editor

πŸžπŸ“ Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
TypeScript
16,941
star
2

tui.calendar

πŸžπŸ“…A JavaScript calendar that has everything you need.
TypeScript
11,682
star
3

tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
JavaScript
6,860
star
4

tui.chart

πŸžπŸ“Š Beautiful chart for data visualization.
TypeScript
5,328
star
5

tui.grid

πŸžπŸ”‘ The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
TypeScript
2,399
star
6

fe.javascript

FE DEV LAB
1,116
star
7

gpm.unity

A brand of NHN providing free services required for game development.
319
star
8

toast-ui.vue-editor

This repository is DEPRECATED! GO TO πŸ‘‰ https://github.com/nhn/tui.editor/tree/master/apps/vue-editor
JavaScript
229
star
9

toast-ui.vue-calendar

Toast UI Calendar for Vue
Vue
195
star
10

toast-ui.vue-image-editor

Toast UI Image Editor for Vue
Vue
187
star
11

toast-ui.react-calendar

TOAST UI Calendar wrapper for React.js
JavaScript
169
star
12

socket.io-client-unity3d

socket.io-Client for Unity3D, which is compatible with socket.io v1.x
C#
166
star
13

toast-ui.react-image-editor

TOAST UI ImageEditor wrapper for React.js
JavaScript
117
star
14

toast-ui.doc

JavaScript
115
star
15

toast-haste.framework

TOAST Haste framework is a pure java implementation of asynchronous game server framework
Java
97
star
16

tui.date-picker

Component that selects specific date.
JavaScript
92
star
17

tui.code-snippet

Group of utility methods to make ease with developing javascript applications.
JavaScript
92
star
18

tui.tree

Component that displays data hierarchically.
JavaScript
91
star
19

tui.time-picker

Component that selects specific time.
JavaScript
57
star
20

tui.color-picker

Colorpicker component for web services.
JavaScript
57
star
21

toast-ui.vue-chart

Toast UI Chart for Vue
Vue
51
star
22

toast-ui.vue-grid

This repository is DEPRECATED! GO TO πŸ‘‰
Vue
51
star
23

tui.pagination

Component that automatically calculate and generate page numbers.
JavaScript
49
star
24

toast-ui.react-editor

This repository is DEPRECATED! GO TO πŸ‘‰ https://github.com/nhn/tui.editor/tree/master/apps/react-editor
JavaScript
46
star
25

tui.context-menu

Component that creates a menu when the right mouse button is clicked.
JavaScript
44
star
26

tui.app-loader

Component that installs a specific app by determining whether an app is installed on mobile devices.
JavaScript
43
star
27

eat

Json based scenario testing tool(which can have test for functional and non-functional)
Java
40
star
28

toast-ui.react-chart

Toast UI Chart for React
JavaScript
27
star
29

tui.ngx-calendar

TypeScript
26
star
30

tui.file-uploader

JavaScript
26
star
31

tui.eslint.config

ESLint Sharable Configuration for TUI Component
JavaScript
23
star
32

tui.auto-complete

TOAST UI Auto Complete
JavaScript
21
star
33

toast-ui.react-grid

This repository is DEPRECATED! GO TO πŸ‘‰
JavaScript
19
star
34

toast-ui.select-box

Component that selects an option in the drop-down list.
JavaScript
18
star
35

toast-haste.sdk.dotnet

This repo is .NET client for TOAST Haste framework.
C#
17
star
36

tui.rolling

Components that rotates and displays items such as a slideshow.
JavaScript
14
star
37

tui.virtual-keyboard

JavaScript
12
star
38

tui.virtual-scroll

JavaScript
12
star
39

tui.animation

Javascript animation library with ease
JavaScript
11
star
40

tui.layout

JavaScript
10
star
41

toast.gamebase.unity.sample

C#
10
star
42

tui.flicking

JavaScript
7
star
43

tui.placeholder

JavaScript
7
star
44

dooray.scrum

JavaScript
7
star
45

dooray.vote

JavaScript
7
star
46

adlib.android_media_app

Java
6
star
47

tui.gesture-reader

fe.component-gesture-reader
JavaScript
6
star
48

tui.floating-layer

JavaScript
6
star
49

toast-ui.detect-runtime-error-actions

🧐 Detect Runtime Error with browserstack
JavaScript
6
star
50

tui.dom

DOM control library for TOAST UI Components
JavaScript
5
star
51

toastcloud.sdk

Objective-C
4
star
52

gameanvil.sample-game-server

Java
3
star
53

hands-on-labs.java.spring-boot-custom-starter

Python
3
star
54

gameanvil.sample-game-test

Java
3
star
55

nhncloud.ios.sdk

Objective-C
3
star
56

toast-ui.date

JavaScript
2
star
57

toast.gamebase.ios.sdk

2
star
58

toast.gamebase.unity.tools.setting-tool

2
star
59

hands-on-labs.java.mybatis-to-jpa

Java
2
star
60

hands-on-labs.gamebase.guest-auth-on-js

Python
2
star
61

hands-on-labs.toastui.calendar-timetable

Python
2
star
62

adlib.ios_media_app

Objective-C
2
star
63

gameanvil.agent

2
star
64

hands-on-labs.java.spring-boot-actuator

Makefile
1
star
65

hands-on-labs.gamebase.google-setting

Python
1
star
66

toast-ui.release-notes

Publish Github release note from a tag.
JavaScript
1
star
67

gameanvil.sample-game-client-unity

HTML
1
star
68

hands-on-labs.toastui.chart-dashboard

Python
1
star
69

hands-on-labs.gamebase.install-with-setting-tool

Python
1
star
70

k8s.oss-helm-packages

JavaScript
1
star
71

hands-on-labs.toastui.grid-account-book

Python
1
star
72

tui.webpack.safe-umd-plugin

Webpack plugin to handle optional dependencies safely when using libraryTarget: umd
JavaScript
1
star
73

hands-on-labs.java.jvmtop

Python
1
star
74

hands-on-labs.gamebase.guest-auth-on-unity

HTML
1
star
75

tui.component.calendar

JavaScript
1
star
76

terraform-provider-nhncloud

Terraform Provider for NHN Cloud
Go
1
star
77

ace.guide.script

μ›Ήλ‘œκ·ΈλΆ„μ„ 슀크립트 μ„€μΉ˜κ°€μ΄λ“œ
HTML
1
star
78

hands-on-labs.toastui.editor-ext

Python
1
star