Skip to content

Commit 0cdf749

Browse files
committed
🚀 deploy(typedoc.json): deploying docs
setup typedocs to be deployed with github pages
1 parent 83e5179 commit 0cdf749

23 files changed

+190
-110
lines changed

Diff for: README-api.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# How to Use the TypeDoc API Documentation
2+
3+
{written by [ChatGPT](https://chatgpt.com/share/7734ca48-ca1c-4e95-b78d-7cd5ed02cd5d)}
4+
5+
Welcome to the TypeDoc API documentation! This guide will help you navigate the documents and get the most value out of them. Below are some tips and tricks to enhance your experience.
6+
7+
## Getting Started
8+
9+
### 1. Navigating the Documentation
10+
11+
- **Home Page**: The home page usually contains an overview of the project and links to major sections.
12+
- **Sidebar Navigation**: Use the sidebar on the left to navigate between modules, classes, interfaces, functions, and other members. The hierarchy is structured to reflect the project structure.
13+
- **Search Bar**: Utilize the search bar at the top to quickly find specific entities (classes, functions, etc.) by name.
14+
15+
### 2. Understanding the Layout
16+
17+
- **Modules**: Group related classes, interfaces, and functions together. Think of modules as namespaces.
18+
- **Classes**: Represent the main objects in the project. Classes contain properties, methods, and events.
19+
- **Interfaces**: Define contracts that classes or objects should adhere to.
20+
- **Functions**: Standalone blocks of code that perform specific tasks.
21+
22+
## Detailed View
23+
24+
### 1. Class/Interface Pages
25+
26+
- **Hierarchy**: Shows the inheritance chain for classes.
27+
- **Implements**: Lists interfaces implemented by the class.
28+
- **Properties and Methods**: Detailed descriptions of each property and method, including types, return values, and descriptions.
29+
- **Constructors**: Information on how to instantiate the class.
30+
31+
### 2. Function Pages
32+
33+
- **Signature**: Displays the function signature with parameter and return types.
34+
- **Parameters**: Each parameter is listed with its type and description.
35+
- **Returns**: Details about what the function returns.
36+
37+
## Useful Features
38+
39+
### 1. Source Links
40+
41+
- **View Source**: Many documentation pages provide links to the source code. This is useful if you need to see the implementation details.
42+
43+
### 2. Examples
44+
45+
- **Code Examples**: Look for code examples within the documentation to understand how to use a particular class, function, or module.
46+
47+
### 3. Comments and Tags
48+
49+
- **Documentation Comments**: Pay attention to documentation comments (usually indicated by `/** ... */`). These often include valuable information, examples, and usage tips.
50+
- **Tags**: Look for tags like `@param`, `@returns`, `@example`, and `@deprecated`. These provide additional context and important notes.
51+
52+
## Tips and Tricks
53+
54+
### 1. Efficient Searching
55+
56+
- **Use Specific Keywords**: If you know the name of a class or function, type it directly into the search bar.
57+
- **Partial Matches**: The search function supports partial matches. Typing part of a name can help if you’re unsure of the full name.
58+
59+
### 2. Bookmarking
60+
61+
- **Bookmark Frequently Used Pages**: If you find yourself returning to certain parts of the documentation frequently, bookmark those pages for quick access.
62+
63+
### 3. Exploring Related Items
64+
65+
- **Related Links**: Many pages include links to related classes, functions, or modules. Use these links to explore related documentation and gain a broader understanding.
66+
67+
### 4. Keeping Up to Date
68+
69+
- **Check for Updates**: Documentation is often updated alongside the codebase. Periodically check the documentation for new or updated content.
70+
71+
## Conclusion
72+
73+
The TypeDoc API documentation is a powerful resource for understanding and utilizing your project’s API. By leveraging the tips and features outlined above, you can navigate the documentation more efficiently and make the most of the information available. Happy coding!
74+

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## How to use
44

5+
NOTE: It is best to have created a github organization to use this template. There are a few features which require it. Namely publishing of typedocs to github_pages and the dependabot security features for organizations. Start reading [Creating a new organization from scratch](https://docs.github.com/en/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch) to learn.
6+
57
This is my recommended way to use this template repo. By doing this you'll be able to use the gitmoji commitizen adapter to add your initial commit message with a gitmoji icon which will later be used to create the changelog automatically.
68

79
*If you don't care about using gitmoji on your initial commit then you can simply click the `Use this template` button and select `Create a new repository`. [Here are the instructions](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) to use this GitHub Template. Otherwise continue reading.*

Diff for: bun.lockb

5.55 KB
Binary file not shown.

Diff for: docs/typedocs/assets/highlight.css

-35
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,22 @@
11
:root {
2-
--light-hl-0: #795E26;
3-
--dark-hl-0: #DCDCAA;
4-
--light-hl-1: #000000;
5-
--dark-hl-1: #D4D4D4;
6-
--light-hl-2: #A31515;
7-
--dark-hl-2: #CE9178;
8-
--light-hl-3: #0000FF;
9-
--dark-hl-3: #569CD6;
10-
--light-hl-4: #008000;
11-
--dark-hl-4: #6A9955;
122
--light-code-background: #FFFFFF;
133
--dark-code-background: #1E1E1E;
144
}
155

166
@media (prefers-color-scheme: light) { :root {
17-
--hl-0: var(--light-hl-0);
18-
--hl-1: var(--light-hl-1);
19-
--hl-2: var(--light-hl-2);
20-
--hl-3: var(--light-hl-3);
21-
--hl-4: var(--light-hl-4);
227
--code-background: var(--light-code-background);
238
} }
249

2510
@media (prefers-color-scheme: dark) { :root {
26-
--hl-0: var(--dark-hl-0);
27-
--hl-1: var(--dark-hl-1);
28-
--hl-2: var(--dark-hl-2);
29-
--hl-3: var(--dark-hl-3);
30-
--hl-4: var(--dark-hl-4);
3111
--code-background: var(--dark-code-background);
3212
} }
3313

3414
:root[data-theme='light'] {
35-
--hl-0: var(--light-hl-0);
36-
--hl-1: var(--light-hl-1);
37-
--hl-2: var(--light-hl-2);
38-
--hl-3: var(--light-hl-3);
39-
--hl-4: var(--light-hl-4);
4015
--code-background: var(--light-code-background);
4116
}
4217

4318
:root[data-theme='dark'] {
44-
--hl-0: var(--dark-hl-0);
45-
--hl-1: var(--dark-hl-1);
46-
--hl-2: var(--dark-hl-2);
47-
--hl-3: var(--dark-hl-3);
48-
--hl-4: var(--dark-hl-4);
4919
--code-background: var(--dark-code-background);
5020
}
5121

52-
.hl-0 { color: var(--hl-0); }
53-
.hl-1 { color: var(--hl-1); }
54-
.hl-2 { color: var(--hl-2); }
55-
.hl-3 { color: var(--hl-3); }
56-
.hl-4 { color: var(--hl-4); }
5722
pre, code { background: var(--code-background); }

Diff for: docs/typedocs/assets/navigation.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/typedocs/assets/search.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/typedocs/coverage.svg

+4-4
Loading

Diff for: docs/typedocs/functions/default.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | template-nodes-project - v1.1.1</title><meta name="description" content="Documentation for template-nodes-project"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="https://jebarpg.github.io/template-nodejs-project/" class="title">runtime-data-validation-js.github.io</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">template-nodes-project</a></li><li><a href="default.html">default</a></li></ul><h1>Function default</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="default" class="tsd-anchor"></a><span class="tsd-kind-call-signature">default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span>, <span class="tsd-kind-parameter">b</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The function <code>sum</code> takes two parameters of any type and returns their sum.</p>
2+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">a</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The function <code>sum</code> takes two parameters, <code>a</code> and <code>b</code>, of type <code>any</code>.</p>
3+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">b</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The parameter <code>b</code> in the <code>sum</code> function represents the second value that you want
4+
to add to the first value <code>a</code>.</p>
5+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>the sum of the two input parameters <code>a</code> and <code>b</code>.</p>
6+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/jebarpg/template-nodes-project/blob/83e5179500d70ee4b64799518bdf989c0a8ba8f5/src/app.ts#L8">app.ts:8</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>template-nodes-project - v1.1.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>

0 commit comments

Comments
 (0)