digitalmars.D - V 0.133 HTML Docs Upload
Sep 27 2005
solotony <solotony sohu.com> writes:
I noticed dmdhtml did not solute directory, which is not exist. BTW, phobos has a separate style.css I suggest using the outer one by import statement. ====phobos/style.css here========================== import url("../style.css"); ====end here ======================================
Sep 30 2005
"solotony" <solotony sohu.com> wrote in message news:Xns96E1DF2617C1DsolotonyATsohuDOTcom 184.108.40.206...I noticed dmdhtml did not solute directory, which is not exist.
Not sure what the term 'solute' is supposed to mean but if you suggest that DmdHtml does not create directories, you are perfectly right. Therefore I have posted instructions how to use it. This program was never meant to be used by anyone besides myself, but I have decided to upload it instead of the already modified files which were too big for the new server. It (and its results) can be used as a reference by anyone interested, but that's about it. DmdHtml does a gentle cleaning of existing HTML documentation, but it does not solve the majority of problems. It is probably risk-free to use because it targets only known problematic sequences in the files without breaking anything. Walter could have used it for the 0.134 release but I guess he deemed that the benefits would not outweigh eventual risks involved. The question is did he mistrust my programming skills or his dmd compiler being still alpha stage ???? :-)BTW, phobos has a separate style.css I suggest using the outer one by import statement. ====phobos/style.css here================ import url("../style.css"); ====end here ========================
Excellent idea, but I am not the one to decide. Maybe Walter will follow your suggestion. Alternatively he could update the <ink ..> tags of the files in the phobos directory instead of using two sets of stylesheets. The new one I have supplied is anyway meant to work with files in both directories.
Sep 30 2005
"Walter Bright" <newshound digitalmars.com> writes:
"Bob W" <nospam aol.com> wrote in message news:dhkenf$306b$1 digitaldaemon.com...Excellent idea, but I am not the one to decide. Maybe Walter will follow your suggestion. Alternatively he could update the <ink ..> tags of the files in the phobos directory instead of using two sets of stylesheets. The new one I have supplied is anyway meant to work with files in both directories.
The only reason two style sheets are used instead of one is pure sloth on my part.
Sep 30 2005
"Walter Bright" <newshound digitalmars.com> wrote in message news:dhl46i$1onl$1 digitaldaemon.com...The only reason two style sheets are used instead of one is pure sloth on my part.
I perfectly understand. ;-) But here is the solution based on solotony's recommendation: - move the latest "style.css" (probably the one in phobos) to the "d" directory. - rename it to something like "marsstyle.css" - keep in all subdirectories a "style.css" consisting of only one line. For d/phobos file contents should be: import url("../marssstyle.css"); fir the d directory you want to use: import url("marssstyle.css"); Benefits: You can move directories and files and you have just to keep and maintain one valid copy of the "marsstyle.css". Instead of editing every <link> tag in those HTML files which are to be moved to a different location, you just keep your "style.css" files in all current and future subdirectories pointing to the proper location of "marsstyle.css".
Oct 01 2005