-
Notifications
You must be signed in to change notification settings - Fork 95
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
docs: start writing standardese to propose to WG21 #395
Comments
@JohelEGP, you are right. I will be in Kona, and I wanted to present the first papers there... but the v2 framework happened from something that was initially a simple dimensions handling refactoring. I think that we first need to finish it and get some experience with it. So I would wait with papers until New Jersey. I just finished delivering 5 days full day trainings and I am now at the airport waiting for my plane to Londo to deliver 10 more days. I am not sure if I will have much time to work on V2 there but I hope to do some work. I hope to have everything done before Kona and discuss the new design there with some members of the Committee that are interested in supporting that proposal. |
With the amount of work that we started recently to support the ISO 80000 quantities, I am afraid we will not be able to deliver papers on time for C++26, especially if we will be working on two separate designs/libraries. The changes are huge, and we need some feedback from production or really good tests and examples to prove that the design is correct. Maybe we will have to wait for C++29 with the standardization... |
How do we balance things better to make forward progress on the W21's proposal? I think you mentioned something about updating the documentation in #391/#397, but I can't find them. And I haven't familiarized myself with these PRs, besides reviewing them. |
I didn't write any documentation yet. First, I would like all (or at least most) of the previous code to compile with the V2 framework. The problem is that I am extending the scope of refactoring every month. I thought that I was nearly done, and now I started to work on #405, which again significantly changed the design. |
In order to start writing standardeese we need to set up an API reference tool that will allow us to do so. I hoped to use Standardeese but I learned from the author that it has many issues with C++20 and that the tool in not maintained anymore. @JohelEGP if I recall correctly you had some other solution in mind? |
Yes. You can see the results of doing so at https://johelegp.github.io/ under "JEGP". I setup CI to install the dependencies of https://github.com/cplusplus/draft and https://github.com/Eelis/cxxdraft-htmlgen The CMake buildsystem https://github.com/JohelEGP/jegp/blob/master/doc/CMakeLists.txt is used to build the PDF and HTML. To simplify the process above, I have been working on https://github.com/JohelEGP/jegp.cmake_modules/tree/std-src#jegpaddstandardesesources. cmake_minimum_required(VERSION 3.25.0)
project(Waarudo_reference_documentations LANGUAGES NONE)
include(JEGPAddStandardeseSources)
set(pdf_title "Waarudo Library")
set(page_license "Unlicense")
set(first_library_chapter "serial")
set(last_library_chapter "exenv")
set(pdf_creator "Johel Ernesto Guerrero Pe\\~{n}a")
# set(document_number [[\unspec]])
# set(previous_document_number [[\unspec]])
set(cover_title "Waarudo Library Reference Documentations")
set(reply_to "\\href{${PROJECT_HOMEPAGE_URL}/discussions}{Discussions}, \\href{${PROJECT_HOMEPAGE_URL}/issues}{issues}")
jegp_add_standardese_sources(
Waarudo_reference_documentations
LIBRARIES intro;serialization numbers;quantities;geometries exenv
EXTENSIONS bibliography macros_extensions
CHECKED TRUE
PDF_PATH "Waarudo.pdf") It works to get a PDF, but HTML support is still in the works. |
Wow, that is so inconvenient :-(
If we are about to write documentation in a separate repo probably one of the below popular utilities to write ISO papers should be considered: Most of the current proposals are written using those. It is a pity that Standardeese is not maintained anymore 😢 |
Why not under |
Right, I will think about this and take a closer look at LATeX (I was always scared of it 😉). |
Naturally, I offer myself to do the writing. Are there any sufficiently stable APIs to start with? Note that we could gloss over some things with _see below_s, unspecified's, and hand-wavy wording until they stabilize.
I want to start building consensus. To encourage earlier feedback with the components we can. Sending more proposals to WG21 should help with this. And hopefully spawn counter-proposals earlier rather than later. The visibility should also enable more constructive discussions to emerge.
The text was updated successfully, but these errors were encountered: