Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve /docs command #102

Merged
merged 5 commits into from
Jan 1, 2025
Merged

feat: improve /docs command #102

merged 5 commits into from
Jan 1, 2025

Conversation

trag1c
Copy link
Member

@trag1c trag1c commented Jan 1, 2025

Closes #97.

Summary

Optional message parameter can now be supplied

More sections are now available

In particular:

Unintentionally, there are now a few ways to get the same page, e.g. (config, keybind) and (keybind, overview) both lead to https://ghostty.org/docs/config/keybind.

@trag1c trag1c added new-feature New feature or request improvement labels Jan 1, 2025
Copy link

@iceghost iceghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't actually tested due to some issues I said in the testing server. Here is a quick sitemap check.

app/components/docs.py Show resolved Hide resolved
app/components/docs.py Show resolved Hide resolved
trag1c added 2 commits January 1, 2025 20:29
this didn't affect the autocomplete as it wasn't present in SECTIONS, but keeps the sitemap clean
@trag1c trag1c requested a review from iceghost January 1, 2025 19:39
@trag1c trag1c merged commit c829d1b into main Jan 1, 2025
1 check passed
@trag1c trag1c deleted the docs-improvements branch January 1, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow an optional message argument for /docs
2 participants