Skip to content

Commit

Permalink
docs: Streamline cli documentation (sourcenetwork#2646)
Browse files Browse the repository at this point in the history
## Relevant issue(s)
Resolves sourcenetwork#2166
Resovles sourcenetwork#2645

## Description
- Delete old cli dir
- Update make command to generate in the new website dir
- Actually update the documents in the new directory.


## How has this been tested?
`make docs:cli`

Specify the platform(s) on which this was tested:
- WSL2
  • Loading branch information
shahzadlone authored May 23, 2024
1 parent 3c8871a commit dbc8219
Show file tree
Hide file tree
Showing 82 changed files with 258 additions and 1,170 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ docs:

.PHONY: docs\:cli
docs\:cli:
go run cmd/genclidocs/main.go -o docs/cli/
rm -f docs/website/references/cli/*.md
go run cmd/genclidocs/main.go -o docs/website/references/cli

.PHONY: docs\:manpages
docs\:manpages:
Expand Down
38 changes: 0 additions & 38 deletions docs/cli/defradb.md

This file was deleted.

49 changes: 0 additions & 49 deletions docs/cli/defradb_client.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/cli/defradb_client_dump.md

This file was deleted.

60 changes: 0 additions & 60 deletions docs/cli/defradb_client_query.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/cli/defradb_client_schema.md

This file was deleted.

59 changes: 0 additions & 59 deletions docs/cli/defradb_client_schema_add.md

This file was deleted.

58 changes: 0 additions & 58 deletions docs/cli/defradb_client_schema_patch.md

This file was deleted.

36 changes: 0 additions & 36 deletions docs/cli/defradb_server-dump.md

This file was deleted.

Loading

0 comments on commit dbc8219

Please sign in to comment.