Commit graph

166 commits

Author SHA1 Message Date
Orhun Parmaksız 2379c6ddf3
fix(parser): return error in the case of empty file vector 2021-11-23 23:45:35 +03:00
Orhun Parmaksız e8c7890f98
test(parser): update document parser tests about required files 2021-11-23 23:40:06 +03:00
Orhun Parmaksız f7f323d3af
feat(parser): add a mechanism for checking the existence of required files 2021-11-23 23:38:43 +03:00
Orhun Parmaksız 7d1f85a90e
fix(app): hide the error log if no pager is given 2021-11-23 22:47:34 +03:00
Orhun Parmaksız 5f71f0510e
style(docs): display the documentation with its original title 2021-11-23 22:38:53 +03:00
Orhun Parmaksız ad7dfa48ed
style(lib): use a standard format for error messages 2021-11-22 20:54:14 +03:00
Orhun Parmaksız f59b808ffa
style(args): update the help message template 2021-11-22 17:01:46 +03:00
Orhun Parmaksız 7e0a1e0884
feat(app): support different display types for parameters 2021-11-22 17:00:04 +03:00
Orhun Parmaksız 0974e87cf2
fix(app): trim the values while processing 2021-11-21 00:46:01 +03:00
Orhun Parmaksız 6aa07aefc3
refactor(config): rename ColorConfig to AppConfig 2021-11-20 20:10:21 +03:00
Orhun Parmaksız c97854424f
feat(args): add -e flag for ignoring unknown variable errors 2021-11-20 19:26:34 +03:00
Orhun Parmaksız 079b65c409
test(parser): update regexes to have at least one group 2021-11-18 21:59:07 +03:00
Orhun Parmaksız c75e1646d1
refactor(args): add a default path for linux kernel documentation 2021-11-18 21:43:42 +03:00
Orhun Parmaksız 5e0725472b
refactor(args): remove --no-color argument 2021-11-18 20:57:37 +03:00
Orhun Parmaksız 371c22ac96
feat(app): show documentation with using a pager 2021-11-18 20:52:09 +03:00
Orhun Parmaksız 4828a333b5
style(docs): create a certain format for the documentation 2021-11-18 00:38:52 +03:00
Orhun Parmaksız 4039c09f1a
feat(app): display the documentation references 2021-11-17 22:14:39 +03:00
Orhun Parmaksız d4768c5695
style(docs): trim the start of the documents 2021-11-16 20:10:14 +03:00
Orhun Parmaksız 0a2a8fbedc
fix(docs): skip the unexisting variable descriptions 2021-11-15 22:14:49 +03:00
Orhun Parmaksız 2c0010e362
feat(args): add --explain argument for displaying documentation 2021-11-15 13:47:05 +03:00
Orhun Parmaksız 4a22e7cc63
refactor(app): create application controller 2021-11-10 23:08:21 +03:00
Orhun Parmaksız ad024dc5c2
feat(sysctl): support changing the value of parameters 2021-11-10 19:50:08 +03:00
Orhun Parmaksız e4507feb5c
feat(sysctl): support displaying only the given parameters 2021-11-03 01:01:42 +03:00
Orhun Parmaksız 9d3910f6b3
feat(args): add aliases for the display flag 2021-11-01 02:17:41 +03:00
Orhun Parmaksız 783320c276
feat(sysctl): print the parameters with their section colors 2021-10-31 16:26:27 +03:00
Orhun Parmaksız 14abb58f17
test(parser): add tests for parser crate 2021-10-30 02:19:31 +03:00
Orhun Parmaksız da334a9732
feat(sysctl): add -a flag for printing the parameters 2021-10-29 19:39:34 +03:00
Orhun Parmaksız da927e010f
feat(parser): parallelize the initial parsing 2021-10-29 19:16:06 +03:00
Orhun Parmaksız 354bc5dd77
feat(sysctl): parallelize the documentation updates 2021-10-29 13:02:56 +03:00
Orhun Parmaksız 8aca59a897
refactor(parser): use constants for kernel documentation parsers 2021-10-28 18:45:56 +03:00
Orhun Parmaksız 6f3df91efb
refactor(parser): rename RstParser to Parser 2021-10-28 13:49:32 +03:00
Orhun Parmaksız f7a084260f
refactor(parser): make core module depend on parser 2021-10-28 01:31:20 +03:00
Orhun Parmaksız b95b0ebf06
refactor(sysctl): move section to sysctl module 2021-10-26 20:15:51 +03:00
Orhun Parmaksız 1efc8cf504
refactor(parser): use regular expressions instead of pest parser 2021-10-26 19:37:53 +03:00
Orhun Parmaksız 51e8777c5c
refactor(kernel): construct the path in-place for sysctl sections 2021-10-21 22:13:45 +03:00
Orhun Parmaksız 8813bb9486
refactor(sysctl): add Debug implementation for sysctl types 2021-10-21 20:07:37 +03:00
Orhun Parmaksız be5be806a2
feat(sysctl): skip the non-listable parameters 2021-10-20 00:20:11 +03:00
Orhun Parmaksız cb1c0339a8
feat(docs): associate the documentation with the parameters 2021-10-18 20:39:45 +03:00
Orhun Parmaksız 1e6d80f973
feat(kernel): add sysctl section to common Parameter type 2021-10-18 18:01:47 +03:00
Orhun Parmaksız 507c6ee063
refactor(kernel): rename ParamDoc to Documentation 2021-10-18 00:40:38 +03:00
Orhun Parmaksız 146ec1bba9
feat(kernel): fetch the available kernel parameters 2021-10-18 00:38:57 +03:00
Orhun Parmaksız 71d3da2cf8
refactor(kernel): rename kernel module to docs 2021-10-18 00:16:08 +03:00
Orhun Parmaksız bc2016df67
refactor(kernel): rename Parameter struct to ParamDoc 2021-10-17 21:28:03 +03:00
Orhun Parmaksız 62399609b7
refactor(lib): apply clippy::unit_arg suggestions 2021-10-17 21:04:37 +03:00
Orhun Parmaksız 57e334933f
feat(args): add command-line argument parser 2021-10-17 21:03:17 +03:00
Orhun Parmaksız 8ae0acda21
chore(project): rename project to systeroid 2021-10-14 00:19:11 +03:00
Orhun Parmaksız 260a0183e2
chore(project): add rustfmt.toml 2021-10-13 00:28:05 +03:00
Orhun Parmaksız 3bcd06aa9a
feat(lib): parallelize the reader and parser 2021-10-09 23:50:57 +03:00
Orhun Parmaksız 0795f8c8bc
refactor(lib): remove references in kernel types 2021-10-09 23:27:30 +03:00
Orhun Parmaksız 6e440b31c8
refactor(parser): apply clippy::useless_asref suggestions 2021-10-09 14:00:10 +03:00