First, in the module.html file, the (shared) static ctor/dtor links all go to the class.html file. Second, in the class.html static ctor/dtor description , it specifies that the static ctor/dtor runs on program startup and termination, when actually it runs on thread startup and termination. It also does not clearly state how shared static ctor/dtors are run once at program startup/termination. Third, the description of static ctor/dtor in module.html does not have any examples! I think most of the description for static ctor/dtor functions should be moved to the module file, and let the class-specific version reference that, and describe how class-specific static ctor/dtors are different.
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/499eafac288d17784dfa0b7f1823662767d852d2 Issue 6055 - multiple problems with static dtor and ctors in spec
Added a fix for the class.html error. The reorg is an enhancement.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/3935 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB