Skip to content

Commit 8f51aae

Browse files
authored
Merge pull request #54 from NimbleBoxAI/yash/marquez
New Docs
2 parents 1c07f54 + aab9b70 commit 8f51aae

File tree

17 files changed

+772
-67
lines changed

17 files changed

+772
-67
lines changed

docms/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gen/
2+
autogen/
3+
nbox_gen/
4+
src/docs/

docms/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Project New Documentation (Marquez)
2+
3+
All documentation engines suck, there is no consideration for the humans. So we took action.
4+
5+
This is what the folder structure looks like:
6+
7+
```
8+
src/
9+
index.md
10+
changelog.md
11+
auto/
12+
nbox.cli.md
13+
nbox.lib.shell.md
14+
nbox.nbxlib.resource_contants.md
15+
```
16+
17+
Will create a `gen/` folder with the exact same structure. All the module code is in `autogen/` folder which provides this simple convinience being tucked away in the folder.
18+
19+
This uses the `nbox.nbxlib.astea` module which is a simple human like AST parsing and exploration engine, so using our own code to solve our own problems. Another tricky piece is the src markdown file parsing.
20+
21+
## Software Requirements
22+
23+
- User should be able to specify exactly what piece of object they want.
24+
- User should not need to specify anything as well, some things should just work.
25+
- Have a dead simple build system, predictable, functional in flow, nothing fancy.
26+
- Script should only run from repo root, no where else, remove the burden of path management.
27+
- It should throw out relevant warnings as and when needed.
28+
- It should not delete any file, unless told so.
29+
30+
## How to make nbox docs?
31+
32+
- **Only to create blanks**: Use this command only to create blank entries in the src/code folder note that this will remove eny existing piece of thing written:
33+
```bash
34+
# we are going to ignore hyperloop and sublime modules since they mostly contain protobufs
35+
python3 build.py create_blanks --fresh --ignore_pat '["hyperloop", "sublime._yql", "sublime.proto"]'
36+
```
37+
38+
-
39+

0 commit comments

Comments
 (0)