-
Notifications
You must be signed in to change notification settings - Fork 17
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
Boost.URL reference features #480
Labels
Feature
Something new that it should do
Comments
https://792.urlantora.prtest2.cppalliance.org/site/url/reference/boost/urls.html More items:
|
Some more:
|
Break down issues left into other issues with the Boost.URL milestone |
This was referenced May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a list of some features missing from the mrdocs reference when we compare
https://788.urlantora.prtest2.cppalliance.org/site/url/reference/index.html
and
https://www.boost.org/doc/libs/master/libs/url/doc/html/url/ref.html
xref:reference/index.adoc[]
usually render asReference
or something like that but it renders asreference/index.adoc
because the name comes from the first level 1 section in file and the templates start at level 2. One solution is to make the main section level 1. There's also a reftext attribute that can be set for the page but I think the first solution is not only easier but also better.target of xref not found: ../../../../../boost/urls/grammar/range/iterator/reference.adoc
. The problem is it assumes the reference will always be in the root of modules/ROOT/pages, which is almost never the case and would conflict with the exposition. Ideally, antora would support relatives paths for xrefs such as xref:../../params_base.adoc[params_base] and this would solve all cases. I don't think that's possible. The alternative is having an option to specify the prefix path for these xrefs. A temporary workaround is to have a hardcoded prefix such asreference
: it's hardcoded and imposes an obligation on the user but makes it usable. (I fixed this manually in the preview above so we can compare the documentation)target of xref not found: reference/std/__is_nothrow_constructible_impl.adoc file: C:\Users\aland\Documents\Code\C++\boost\libs\url\doc\modules\ROOT\pages\reference\std.adoc
I suspect that has something to do with :relfileprefix: ../ but I never used this property before.788BE0EE2B9E1883DC13CA753557E782CA76A23C: Block ID pattern invalid, problem with prefix 788
. Although I believe we will need to create some safe names for these sections anyway because referring to<<788BE0EE2B9E1883DC13CA753557E782CA76A23C,
std>>
from the exposition would be very inconvenient.boost
,std
, and nothing else. This is usually a list of symbols of interest in the library. (See https://www.boost.org/doc/libs/master/libs/url/doc/html/url/ref.html) At the first level, we have to describe the main symbols of the library. At a second level, we have modules, which are URL, RFC, and grammar in this case. As a temporary solution, the symbols from these namespaces could be listed separately which would match the intended modules almost perfectly at least for Boost.URL. This is also valid for namespace pages, which should have the symbols categorized by their types (there's a handlebars helper for that).url
namespace. This one is inboost/url/detail/*
and should have been excluded for this reason.Feel free to add to this list... :)
The text was updated successfully, but these errors were encountered: