Skip to content

Commit abde97b

Browse files
att
1 parent cdb5bf1 commit abde97b

2 files changed

Lines changed: 66 additions & 12 deletions

File tree

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <https://unlicense.org>

README.md

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,61 @@
11

2-
a system to join docs into a single markdown file
2+
# Doc-Join
3+
4+
A professional documentation aggregation tool that combines multiple documents into a single markdown file.
5+
6+
## Overview
7+
8+
Doc-Join streamlines the process of consolidating documentation by automatically merging multiple markdown files and directories into a cohesive single document. This tool is particularly useful for creating comprehensive documentation packages, reports, or consolidated references.
9+
10+
## Prerequisites
11+
12+
Doc-Join requires VibeScript as a runtime dependency. Please ensure you have `gcc` or `clang` installed on your system before proceeding.
13+
314
## Installation
4-
- step 1 : Install vibescript
5-
Install [vibescript](https://github.com/OUIsolutions/VibeScript) if you don't have it yet:
615

7-
### Linux
8-
Run the following command to install VibeScript on Linux:
16+
### Step 1: Install VibeScript
17+
18+
Choose the appropriate installation method for your operating system:
919

20+
#### Option A: Pre-compiled Binary (Linux only)
1021
```bash
1122
curl -L https://github.com/OUIsolutions/VibeScript/releases/download/0.32.0/vibescript.out -o vibescript.out && chmod +x vibescript.out && sudo mv vibescript.out /usr/local/bin/vibescript
1223
```
1324

14-
### Linux and macOS
15-
You need to have `gcc` or `clang` installed:
16-
25+
#### Option B: Compile from Source (Linux and macOS)
1726
```bash
1827
curl -L https://github.com/OUIsolutions/VibeScript/releases/download/0.35.0/amalgamation.c -o vibescript.c && gcc vibescript.c -o vibescript.out && sudo mv vibescript.out /usr/local/bin/vibescript
1928
```
20-
- step 2 : Install doc_join
29+
30+
### Step 2: Install Doc-Join
2131
```bash
22-
vibescript add_script --file https://github.com/Igreja-ChimpStack/Doc-Join/releases/download/0.1.0/doc_join.lua doc_join
32+
vibescript add_script --file https://github.com/Igreja-ChimpStack/Doc-Join/releases/download/0.1.0/doc_join.lua doc_join
2333
```
2434

35+
## Usage
2536

37+
### Basic Syntax
38+
```bash
39+
doc_join --entries <input_files_or_directories> --output <output_file>
40+
```
2641

27-
## Usage
42+
### Example
2843
```bash
29-
doc_join --entries docs README.md --output teste.md
44+
doc_join --entries docs README.md --output consolidated_documentation.md
3045
```
3146

47+
This command will process all files in the `docs` directory along with the `README.md` file, combining them into `consolidated_documentation.md`.
48+
49+
## Parameters
50+
51+
- `--entries`: Specify input files and/or directories to be processed
52+
- `--output`: Define the output filename for the consolidated markdown document
53+
54+
## License
55+
56+
This project is released into the public domain under the [Unlicense](LICENSE). You are free to use, modify, and distribute this software without any restrictions.
57+
58+
## Contributing
59+
60+
For contributions, bug reports, or feature requests, please visit the [project repository](https://github.com/Igreja-ChimpStack/Doc-Join).
61+

0 commit comments

Comments
 (0)