Commit Graph

21 Commits (5d16b30514ab68de1da8844e3a6c5a5869fe0eab)

Author SHA1 Message Date
Sharif Elgamal 3adee394ec fix display order for error codes documentation 2022-04-19 13:41:01 -07:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Sharif Elgamal f1e40b6e77 add error strings to doc 2021-05-21 13:45:38 -07:00
Sharif Elgamal e89aca810a Add list of error codes to documentation 2021-05-21 11:07:59 -07:00
Sharif Elgamal ef304f7c05 add error codes file 2021-05-19 15:25:45 -07:00
Sharif Elgamal 972dae8133 Make sure all tests have comments 2021-05-11 15:17:43 -07:00
Sharif Elgamal 245f44da66 write to a file and move code around for clarity 2021-04-16 15:33:50 -07:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00
Tharun e37f8bc1a2 add unload as an alias and fixed parent command usage
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-27 02:30:15 +05:30
Anders F Björklund 360771ce84 Fix the docs generation to be more deterministic
This was failing the unit tests sometimes otherwise,
due to the default value for log_file being changed.
2021-03-24 08:32:40 +01:00
edtrist 1440438020 Remove unused argument 2020-12-01 23:25:38 +00:00
edtrist 230c397aed Custom GenMarkDown from Cobra to add shell language to runnable commands 2020-12-01 22:42:41 +00:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Thomas Stromberg 2c5e8fdaee Add detailed JSON & status codes for all error paths 2020-08-30 17:25:11 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Priya Wadhwa ff65422562 Code review comments 2020-04-06 10:26:16 -07:00
Priya Wadhwa 7004c398b0 Don't generate documentation for hidden commands 2020-04-02 12:05:27 -07:00
Priya Wadhwa 7988704bed fixups 2020-04-02 11:01:26 -07:00
Priya Wadhwa 6fdecf2ebf Add unit test to check that docs are up to date
This requires the following changes:

1. We need to pass in -ldflags to `go test`, since we need to know the curren iso version to correctly generate the description for --iso-url

2. We need to rewrite the description of the --driver flag on `minikube start` because it is operating system specific, which doesn't make sense for our documentation
2020-04-02 10:48:47 -07:00
Priya Wadhwa c409c4c91c Add unit tests to make sure docs are up to date 2020-04-01 16:13:54 -07:00
Priya Wadhwa a9dcfe82fe Update generate-docs command
Now, generate-docs will compile all subcommands for one command into one document instead of creating a document per subcommand.

For example, instead of creating:

minikbue_addons_enable.md
minikbue_addons_disable.md

it will now create

addons.md

which will include subsections for `minikube addons enable` and `minikube addons disable`.
2020-04-01 15:59:33 -07:00