Commit Graph

1073 Commits (8fabdf4502d90563ff86929e3f8e08b41a83b335)

Author SHA1 Message Date
sammyette 8fabdf4502
fix: correct no files check to compensate for pipes 2023-10-24 23:59:53 -04:00
sammyette 003100d3c4
fix: dont concat subdocs list if on main page 2023-10-24 23:52:53 -04:00
sammyette 7288f85e9a
feat(commands/doc): add subdocs as additional pages 2023-10-24 23:51:42 -04:00
sammyette 554fb009f8
fix(greenhouse): add enter bind to goto page on table of contents 2023-10-24 23:38:19 -04:00
sammyette 264043dc1e
fix: show usage when no args are passed to greenhouse
also niced up the display of the page title
2023-10-24 20:10:53 -04:00
sammyette 19bb05f001
feat: pager improvements
- make use of full terminal space properly in doc and greenhouse
commands
- add some info in doc command like currently viewed doc
and description at the bottom instead of top of doc (this makes it persistent)
- add contents function to Greenhouse to allow showing custom contents
in the table of contents (this will be used for lazy loading in the future)
2023-07-11 22:29:15 -04:00
sammyette b9bb14497f
fix(greenhouse): print contents properly
on the last line that can be displayed, don't print with a newline
this removes the space at the end
2023-07-11 22:28:11 -04:00
sammyette 7d0c3f3bf0
fix: set old moddocpath 2023-07-11 22:27:11 -04:00
sammyette 48a06f8022
fix: doc command not displaying correct subdocs when using shorthand api doc access 2023-07-11 20:56:24 -04:00
sammyette 5b4b055c6c
fix(greenhouse): set scroll boundary properly, fix text cutoff
this means you can no longer scroll away the text until it isnt seen
this commit also fixes text cutoff when using lunacolors
(like in the doc command)
2023-07-11 20:25:25 -04:00
sammyette 9b39d5ffcf
fix(commands/greenhouse): set nil page title 2023-07-11 20:24:20 -04:00
sammyette ade14a6238
fix(greenhouse): fix toc disappearing on any key press 2023-07-10 18:00:49 -04:00
sammyette 1f5ab90586
docs: update 2023-07-09 23:41:25 -04:00
sammyette 4c6758c732
chore: merge from master (update branch) 2023-07-09 23:40:30 -04:00
sammyette 11da2c0c45
feat(greenhouse): add goto command
made some other minor changes (in terms of how much it
matters to the user)

the toc page is now a "special page"
in a next commit itll also be used for a help page

cursor gets hidden unless typing a command
2023-07-09 23:39:11 -04:00
sammyette 8b672f5b95
feat(greenhouse): add command handling 2023-07-09 23:07:32 -04:00
sammyette 0bb97a6f3b
feat: add table of contents to pager
another change in this commit is having a separate render
function for the greenhouse caller to handle ui

this means there isnt a hardcoded space at the bottom to
display command and status line
2023-07-09 22:38:34 -04:00
sammyette 713f24aa3e
feat(greenhouse): add functions for custom keybinds 2023-07-09 20:22:59 -04:00
sammyette 60f267260b
feat: add more keys for readchar function 2023-07-09 20:15:57 -04:00
sammyette cbc5e81c9d
feat: show indexes on cdr list and change home to tilde (#253)
* feat: show indexes on cdr list and change home to tilde

* fix: remove underline in cdr help page
2023-07-09 18:43:21 -04:00
sammyette e4c3076189
ci: add missing quote 2023-07-09 17:08:14 -04:00
sammyette e013ecdb7b
ci: fix branch name 2023-07-09 17:06:29 -04:00
sammyette 157984e16c
ci: revert "ci: run docgen on prs and every branch"
This reverts commit e0d59a3239.
2023-07-09 16:53:35 -04:00
sammyette e84a2fbdde
chore: merge from upstream 2023-07-09 16:52:44 -04:00
sammyette 2dcae512ad
ci: remove duplicate run command 2023-07-09 16:50:31 -04:00
TorchedSammy 99a121b6fa docs: [ci] generate new docs 2023-07-09 20:49:25 +00:00
sammyette 47582e167e
ci: stop using deprecated method of setting branch name 2023-07-09 16:48:51 -04:00
sammyette d5e31850bb
ci: fix docs action 2023-07-09 16:45:42 -04:00
sammyette e0d59a3239
ci: run docgen on prs and every branch 2023-07-09 16:32:19 -04:00
sammyette b6315639b2
feat: add getChar function to editor interface
this is a simple command that returns a single key from the user.
this can be used to read keystrokes in an interactive program
like how greenhouse (the pager) does it
2023-07-09 16:27:11 -04:00
sammyette 4a3ceed39c
chore: update branch 2023-07-09 15:17:55 -04:00
TorchedSammy 6729ecddea docs: [ci] generate new docs 2023-04-15 14:36:56 +00:00
sammyette 485306fbe2
docs: clarify use of highlighter function 2023-04-15 10:36:21 -04:00
sammyette 480d4de750
ci: set baseurl properly 2023-04-14 01:25:14 -04:00
sammyette d7dde44a0c
ci: (attempt to) fix base url on non-master versions 2023-04-14 01:23:24 -04:00
sammyette 237b306eb8
ci: fix branch name var 2023-04-14 00:52:45 -04:00
sammyette f9546e10e4
docs: update doc strings for sink read functions 2023-04-14 00:45:30 -04:00
sammyette f5fe85ea2e
chore: merge from master 2023-04-14 00:44:34 -04:00
sammyette bd01b478d5
website: add more info for runner mode 2023-04-14 00:40:41 -04:00
sammyette a37f8e3b30
ci: output website builds from other branches to different dirs 2023-04-14 00:40:13 -04:00
sammyette 9c6d6c4f31
website: fix wording on features main page 2023-04-14 00:24:19 -04:00
sammyette 2dbd201e1e
refactor: website/branding cleanup (#250)
* website: add padding to home page

* docs: slight touch ups to readme

* website: reword/reformat content on home and getting started page

* website: fix docs page layout

- the sidenav for doc pages looks the same as the navbar.
- it will be hidden by default on mobile.
- sidenav looks like the navbar on mobile and is more
seamless in general

* docs: update description, logo, dont center badges

* docs: fix badges

* website: fix padding

* website: add borders, add margins for sidenav

* website: update description on homepage

* website: add margins for blog list

* chore: use new logo

* docs: use logo and text combined for readme

* docs: make logo bigger

* website: use combined logo and text asset

* docs: remove hilbish-text asset

* website: fix navbar expand button

* website: add more padding on doc pages

* website(blog): add post about website improvements

* website(blog): add post about website improvements

* website: add more detail on the install page

* website: add screenshots section

* docs: fix up screenshots section

* docs: remove toc and image alignment
2023-04-14 00:04:52 -04:00
sammyette 076118d237
feat: make doc command use pager 2023-04-11 20:44:29 -04:00
sammyette 3dd834fcdf
fix: merge patch releases with master (#248)
my absolutely terrible april fools release was made on a separate branch. this pr merges the fixes on master so history can be synced up. (and mainly to get the 2.1.2 blog post)
2023-04-10 12:38:30 -04:00
sammyette 659d1e0c4e
website(blog): add v2.1.1 release blog 2023-04-01 18:16:13 -04:00
sammyette d196799abf
feat(commands/greenhouse): support reading from pipes 2023-03-25 18:12:51 -04:00
sammyette 7531bbfd14
chore: merge from master 2023-03-25 17:45:45 -04:00
TorchedSammy 0379e302ac docs: [ci] generate new docs 2023-03-25 21:42:46 +00:00
sammyette d577b3c958
feat: sink enhancements (#241)
* feat: add read method to sinks

* feat: add manual flush method for sinks

* fix: add flush as sink method and fix arg amount for read

* feat: add pipe property to sinks to see if stdin sink is a pipe

* feat: add method autoFlush to toggle/change automatic flushing

* chore: update changelog
2023-03-25 17:42:25 -04:00
sammyette ec0692edeb
fix(nature/greenhouse): reset line offset when switching pages 2023-02-19 17:05:25 -04:00