Skip to content

Commit 1623e0a

Browse files
authored
More docs reworking (#39)
1 parent 025978a commit 1623e0a

18 files changed

+97
-89
lines changed

docs/README.md

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1-
@nevware21/ts-utils
21

3-
# @nevware21/ts-utils
2+
<h1 align="center">@nevware21 ts-utils</h1>
3+
<h2 align="center">Common JavaScript/TypeScript helper functions for better minification</h2>
44

5-
Documentation [Moved to here](https://nevware21.github.io/ts-utils/typedoc)
5+
6+
![GitHub Workflow Status (main)](https://img.shields.io/github/workflow/status/nevware21/ts-utils/NodeCI/main)
7+
[![codecov](https://codecov.io/gh/nevware21/ts-utils/branch/main/graph/badge.svg?token=8YCAMUA7VB)](https://codecov.io/gh/nevware21/ts-utils)
8+
[![npm version](https://badge.fury.io/js/%40nevware21%2Fts-utils.svg)](https://badge.fury.io/js/%40nevware21%2Fts-utils)
9+
[![downloads](https://img.shields.io/npm/dt/%40nevware21/ts-utils.svg)](https://www.npmjs.com/package/%40nevware21/ts-utils)
10+
[![downloads](https://img.shields.io/npm/dm/%40nevware21/ts-utils.svg)](https://www.npmjs.com/package/%40nevware21/ts-utils)
11+
12+
## Description
13+
14+
This is a collection of general JavaScript functions (written in and for TypeScript) to aid with removing code duplication to assist with minification, the provided functions are expected to only rarely be included in their namespaced environment.
15+
16+
Support for standard JavaScript functions (ES5+) that are not support in all environments will be backed by internal polyfill implementations when not available. All of the polyfill functions are tested against the standard native implementations for node, browser and web-worker to ensure compatibility.
17+
18+
## Documentation
19+
20+
Documentation [generated from source code](./typedoc/index.html) via typedoc
21+
22+
Some polyfills are provided for simple backward compatability to enable the utility functions in older environments (such as ES3 / IE8), you don't have to use or include the provided polyfils (AND they are NOT exported as part of the main module). If you need them you will need to import the "polyfill" file directly or host and load the provided `bundle/ts-polyfills-utils.min.js` or provide your own alternatives.
File renamed without changes.

docs/modules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# @nevware21/ts-utils
44

5-
Documentation [Moved to here](https://nevware21.github.io/ts-utils/typedoc)
5+
Documentation [Moved to here](https://nevware21.github.io/ts-utils/typedoc/index.html)

docs/pages/index.html

-10
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/pages/typedoc/index.html docs/typedoc/index.html

+71-71
Large diffs are not rendered by default.

docs/pages/typedoc/interfaces/CustomErrorConstructor.html docs/typedoc/interfaces/CustomErrorConstructor.html

+1-1
Large diffs are not rendered by default.

ts-utils/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Support for standard JavaScript functions (ES5+) that are not support in all env
1616

1717
### Documentation and details
1818

19-
Documentation [generated from source code](https://nevware21.github.io/ts-utils//typedoc/index.html) via typedoc
19+
Documentation [generated from source code](https://nevware21.github.io/ts-utils/typedoc/index.html) via typedoc
2020

2121
Some polyfills are provided for simple backward compatability to enable the utility functions in older environments (such as ES3 / IE8), you don't have to use or include the provided polyfils (AND they are NOT exported as part of the main module). If you need them you will need to import the "polyfill" file directly or host and load the provided `bundle/ts-polyfills-utils.min.js` or provide your own alternatives.
2222
See [Browser Support](#browser-support) for details.

typedoc.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"excludePrivate": true,
1212
"entryPointStrategy": "expand",
1313
"tsconfig": "./ts-utils/tsconfig.json",
14-
"out": "./docs/pages/typedoc",
15-
"readme": "none"
14+
"out": "./docs/typedoc",
15+
"readme": "none",
16+
"githubPages": true
1617
}

0 commit comments

Comments
 (0)