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

Separation of proposals and Specification #54

Closed
marty-johnson59 opened this issue Nov 28, 2023 · 6 comments
Closed

Separation of proposals and Specification #54

marty-johnson59 opened this issue Nov 28, 2023 · 6 comments
Assignees
Labels
antora Fix or extension to antora behavior needed component Fix or change to an antora component repository needed navigation improve site navigation

Comments

@marty-johnson59
Copy link

marty-johnson59 commented Nov 28, 2023

Moving this issue over from the archived Antora repo (https://gitlab.khronos.org/vulkan/antora/-/issues/6 per @Tobski)

Currently the docs website has the proposals lumped under the spec documentation, and it's kind of a weird place for them as they're all sitting at the end as a long collapsed list of extensions.
IMO it would be good to have these separated out to a separate page so they can be found more prominently. We may also want to consider how they're labelled - something like "Feature Overviews" would be a useful direction to move in I think.

@oddhack
Copy link
Collaborator

oddhack commented Nov 29, 2023

We can, fairly easily, make the proposals into a separate Antora component like the Guide and Tutorial are. They will necc. appear as separate pages. It's a reasonable way of doing it - there are many options with Antora that are essentially aesthetic preferences / beliefs about how the site will be used. Antora is a static site generator, we can't refactor on the fly to present two sets of pages as two components vs. one component. So we have to choose, and whatever choices we make will be suboptimal for some uses.

@oddhack oddhack added navigation improve site navigation antora Fix or extension to antora behavior needed component Fix or change to an antora component repository needed labels Jan 29, 2024
@oddhack oddhack self-assigned this Jan 29, 2024
@oddhack
Copy link
Collaborator

oddhack commented Jan 29, 2024

We will give this a try - @oddhack will make appropriate changes in the spec preprocessing script and Antora build script.

@oddhack oddhack added this to the Needs Action/MR milestone Jan 30, 2024
@oddhack
Copy link
Collaborator

oddhack commented Jan 30, 2024

Fixed link to internal gitlab site.

oddhack added a commit to KhronosGroup/Vulkan-Docs that referenced this issue Apr 29, 2024
oddhack added a commit that referenced this issue Apr 29, 2024
gpx1000 pushed a commit to KhronosGroup/Vulkan-Docs that referenced this issue May 2, 2024
* Refactor proposals into a separate Antora component

See KhronosGroup/Vulkan-Site#54

* Fix REUSE CI check
oddhack added a commit to KhronosGroup/Vulkan-Docs that referenced this issue May 2, 2024
and refer to them as 'Feature Description's where possible.

See KhronosGroup/Vulkan-Site#54
oddhack added a commit to KhronosGroup/Vulkan-Docs that referenced this issue May 3, 2024
* Refactor 'proposals' into a separate Antora component 'features'

and refer to them as 'Feature Description's where possible.

See KhronosGroup/Vulkan-Site#54

* Use correct start page for features component and fix some cross-module xrefs
oddhack added a commit that referenced this issue May 3, 2024
* Refactor proposals into a separate Antora component

Per #54

This must be accepted along with KhronosGroup/Vulkan-Docs#2358

* Refactor all build targets into top-level Makefile

And rename new 'features' component to match Vulkan-Docs.

* Fix CI script to match Makefile changes

* Run from top level directory
@oddhack
Copy link
Collaborator

oddhack commented May 3, 2024

@Tobski this has been done and docs.vulkan.org updated. The (renamed) "Feature Descriptions" component appears in the lower-left nav. There are probably some dangling naming changes in spec text but the internal links and cross-links (such as the link from https://docs.vulkan.org/spec/latest/appendices/extensions.html to the corresponding feature description) seem OK. We probably want to address the "proposal" / "feature description" dichotomy - maybe call them "proposed feature descriptions" while in development or something like that. If you see problems, please open a new issue.

@oddhack oddhack closed this as completed May 3, 2024
@Tobski
Copy link

Tobski commented May 3, 2024

I didn't even realise there was a lower left nav, would be good to get a link in the upper bar, but we can treat that as a separate issue if that's preferable? Everything else in the lower left nav seems to be duplicated in the upper bar, so I'm not sure of its purpose other than now this.

@oddhack
Copy link
Collaborator

oddhack commented May 3, 2024

I didn't even realise there was a lower left nav, would be good to get a link in the upper bar, but we can treat that as a separate issue if that's preferable? Everything else in the lower left nav seems to be duplicated in the upper bar, so I'm not sure of its purpose other than now this.

The lower-left nav is autogenerated from the Antora component descriptions. The top nav is hand-edited HTML in the site UI bundle (and is particularly annoying because you can't use Antora navigation descriptors, you have to find the actual relative URL of anything in the site you're linking to). But sure, the feature descriptions could go up there as well. Probably under the "Education" menu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
antora Fix or extension to antora behavior needed component Fix or change to an antora component repository needed navigation improve site navigation
Projects
None yet
Development

No branches or pull requests

3 participants