├── .npmignore ├── styles ├── abstracts │ ├── mixins.sass │ ├── functions.sass │ ├── variables-layout.sass │ └── variables-colors.sass ├── components │ ├── tag.sass │ ├── details.sass │ ├── method-parameter.sass │ ├── tags.sass │ ├── code.sass │ ├── footer.sass │ ├── side-nav.sass │ ├── mermaid.sass │ ├── params.sass │ ├── button.sass │ ├── member.sass │ ├── top-navbar.sass │ └── sidebar.sass ├── app.sass └── base │ ├── content.sass │ ├── layout.sass │ └── landing.sass ├── tmpl ├── content.tmpl ├── name-link.tmpl ├── example.tmpl ├── tutorial.tmpl ├── modifies.tmpl ├── source.tmpl ├── type.tmpl ├── augments.tmpl ├── mainpage.tmpl ├── react-component.tmpl ├── returns.tmpl ├── landing.tmpl ├── examples.tmpl ├── exceptions.tmpl ├── vue-component.tmpl ├── head.tmpl ├── property.tmpl ├── param.tmpl ├── members.tmpl ├── proptypes.tmpl ├── layout.tmpl ├── properties.tmpl ├── topnav.tmpl ├── params.tmpl ├── details.tmpl ├── method.tmpl └── container.tmpl ├── scripts ├── app.js ├── sidebar-active.js ├── hamburger.js └── side-nav.js ├── fixtures ├── tutorials │ └── my-awesome-tutorial.md ├── typescript │ ├── regular-class.ts │ ├── index.ts │ ├── functions.ts │ ├── type4.js │ ├── type5.js │ ├── protected-member.js │ ├── members.ts │ ├── static-member.js │ ├── type6.js │ ├── abstract-class.ts │ ├── type.ts │ ├── interface3.js │ ├── type1.js │ ├── index.doc.md │ ├── entity.ts │ ├── type3.js │ ├── type2.js │ ├── type7.js │ ├── interface1.js │ ├── interface.ts │ ├── interface2.js │ └── class.ts ├── examples │ └── class-with-load.js ├── component.jsx └── component.vue ├── .babelrc ├── readme ├── class.png ├── logo.png ├── component.png └── with-mermaid.png ├── commitlint.config.js ├── typedef-import.js ├── static ├── styles │ ├── iframe.css │ ├── reset.css │ ├── prettify-jsdoc.css │ └── prettify-tomorrow.css └── scripts │ ├── linenumber.js │ ├── search.js │ └── app.min.js ├── .releaserc ├── category.js ├── load.js ├── src ├── component-renderer.jsx ├── vue-wrapper.js └── react-wrapper.jsx ├── jsdoc.json ├── .vscode └── launch.json ├── LICENSE ├── lib ├── load │ ├── index.js │ └── fill-component-preview.js ├── vue-wrapper.js ├── component-renderer.js └── react-wrapper.js ├── typescript.js ├── .eslintrc.js ├── .gitignore ├── component.spec.js ├── gulpfile.js ├── package.json ├── CHANGELOG.md ├── .github └── workflows │ └── push.yml ├── bundler.js ├── typescript ├── type-converter.spec.js └── type-converter.js ├── component.js └── README.md /.npmignore: -------------------------------------------------------------------------------- 1 | ./readme -------------------------------------------------------------------------------- /styles/abstracts/mixins.sass: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmpl/content.tmpl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/app.js: -------------------------------------------------------------------------------- 1 | $().ready(() => { 2 | }) -------------------------------------------------------------------------------- /fixtures/tutorials/my-awesome-tutorial.md: -------------------------------------------------------------------------------- 1 | tutorial -------------------------------------------------------------------------------- /styles/components/tag.sass: -------------------------------------------------------------------------------- 1 | .tag 2 | text-transform: uppercase -------------------------------------------------------------------------------- /tmpl/name-link.tmpl: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-react", "@babel/preset-env"] 3 | } 4 | -------------------------------------------------------------------------------- /tmpl/example.tmpl: -------------------------------------------------------------------------------- 1 | 2 |
3 |
--------------------------------------------------------------------------------
/readme/class.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SoftwareBrothers/better-docs/HEAD/readme/class.png
--------------------------------------------------------------------------------
/readme/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SoftwareBrothers/better-docs/HEAD/readme/logo.png
--------------------------------------------------------------------------------
/readme/component.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SoftwareBrothers/better-docs/HEAD/readme/component.png
--------------------------------------------------------------------------------
/readme/with-mermaid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SoftwareBrothers/better-docs/HEAD/readme/with-mermaid.png
--------------------------------------------------------------------------------
/tmpl/tutorial.tmpl:
--------------------------------------------------------------------------------
1 |
7 |
6 | |
7 |
--------------------------------------------------------------------------------
/fixtures/typescript/functions.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Add
3 | */
4 | function add(x: number, y: number): number {
5 | return x + y;
6 | }
7 |
8 | /**
9 | * My Add
10 | */
11 | let myAdd = function (x: number, y: number): number {
12 | return x + y;
13 | };
14 |
--------------------------------------------------------------------------------
/styles/components/code.sass:
--------------------------------------------------------------------------------
1 | .prettyprint
2 | border-radius: 2px
3 | background-color: $codeBg
4 | code
5 | font-family: $code-font-family
6 | pre.prettyprint
7 | li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
8 | background: none
9 |
10 |
--------------------------------------------------------------------------------
/static/styles/iframe.css:
--------------------------------------------------------------------------------
1 | .bd__button {
2 | padding: 10px 0;
3 | text-align: right;
4 | }
5 | .bd__button > a{
6 | font-weight: 100;
7 | text-decoration: none;
8 | color: #BDC3CB;
9 | font-family: sans-serif;
10 | }
11 | .bd__button > a:hover {
12 | color: #798897;
13 | }
--------------------------------------------------------------------------------
/tmpl/augments.tmpl:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
17 |
18 |
--------------------------------------------------------------------------------
/tmpl/exceptions.tmpl:
--------------------------------------------------------------------------------
1 |
4 |