-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update GitHub actions and fix code formatting
- Loading branch information
1 parent
23ff946
commit a70dd47
Showing
18 changed files
with
225 additions
and
461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
allow-private-module-inception = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
# NVI Man Documentation | ||
|
||
This documentation has been pre-built and exists [here](nvi.1). | ||
Man documentation nvi CLI tool. | ||
|
||
# Usage | ||
## Requirements | ||
- pandoc v3.1.6+ (click [here](https://pandoc.org/MANUAL.html) for documentation) | ||
|
||
## Manually Build | ||
```bash | ||
git clone [email protected]:mattcarlotta/nvi.git | ||
cd docs | ||
pandoc --standalone --to man nvi.1.md -o nvi.1 | ||
``` | ||
|
||
Man from local directory: | ||
```bash | ||
man ./nvi.1 | ||
``` | ||
|
||
# System Installation | ||
## System Installation | ||
|
||
Locate directory paths that `man` searches within by running one of the commands below (directories are separated by colons `:`): | ||
|
||
GNU/Linux: | ||
GNU/LINUX (typically installed in `/usr/share/man`) | ||
```bash | ||
man --path | ||
``` | ||
MAC OS: | ||
Mac OS (typically installed in `/usr/local/share/man`) | ||
```bash | ||
cat /private/etc/manpaths | ||
``` | ||
|
||
Select a directory path, add `man1` to the end of the path, and run the following command below (must be located within this `/docs` directory): | ||
|
||
GNU/LINUX (typically installed in `/usr/share/man/man1`) | ||
MAC OS (typically installed in `/usr/local/share/man/man1`) | ||
Select a directory path, add `man1` to the end of the path, and then run the following command below (must be located within this `/docs` directory): | ||
```bash | ||
sudo cp nvi.1 <MANPATH_DIRECTORY/man1> | ||
``` | ||
|
@@ -34,17 +40,9 @@ To view installed documentation: | |
man nvi | ||
``` | ||
|
||
# Uninstallation | ||
## System Uninstallation | ||
|
||
```bash | ||
sudo rm <MANPATH_DIRECTORY/man1>/nvi.1 | ||
``` | ||
|
||
# Build | ||
### Requirements | ||
- pandoc v3.1.6+ (click [here](https://pandoc.org/MANUAL.html) for documentation) | ||
|
||
To manually generate the man documentation, run the following command: | ||
```bash | ||
pandoc --standalone --to man nvi.1.md -o nvi.1 | ||
``` |
Oops, something went wrong.