Skip to content

embedding commands and datatypes onto a page #69

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Redbot
Copy link
Contributor

@Redbot Redbot commented Apr 13, 2025

Adds macros to embed commands and datatypes into a page, so we don't have to repeat the same information in both index page and sub-page. An example is mq2chatwnd, where information is repeated in the README.md and command pages.

This is a draft pr, with autologin as example. If it looks good, I'll standardize the other core-plugins.

image
image

@brainiac
Copy link
Contributor

I like the idea. The screenshots show the old table based datatype though, we are using a newer layout for them. it will still work that way?

@Redbot
Copy link
Contributor Author

Redbot commented Apr 27, 2025

The table based layout is just for embedded content, to save space. If the user clicks through to the datatype's page, they'll see the new layout.

If you want the new layout for embedded content as well, I can nix render_members_table

@Redbot Redbot marked this pull request as ready for review April 27, 2025 17:02
@Redbot
Copy link
Contributor Author

Redbot commented Apr 27, 2025

Since I was adding other internal plugins, I standardized their naming, dropping the "MQ2" 7f07ccf and updated references to them. e19e820

I added redirects for the index pages in mkdocs.yml, but not each tlo/datatype/command as I thought it would take up too much space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants