Closed tajmone closed 3 years ago
@AnssiR66,
this was a rather big change in the toolchain, both in terms of speed improvements in building the docs as well as reducing the toolchain complexity and all the clutter of the intermediate files.
Although I didn't plan to start working again on the StdLib before mid January, I wanted to get this sorted out in view of the changes planned in #103 (i.e. moving the toolchain to a Git submodule that can be shared by all ALAN-related projects, which would reduce drastically future maintenance work).
These changes have been on my TODO list for quite a while, so I finally took a day off to fix it both here and on the Alan-Docs repository:
Now that I can finally see it at work, it's definitely a huge improvement, especially in terms of build speed, but also in terms of less scripts and complexity to deal with (which is going to make the next steps toward #103 much easier).
I hope you and @thoni56 are enjoying the season holidays, and wish you a happy 2021!
@tajmone Thanks for taking care of the issue. All the best for 2021 as well!
Ditto to you guys too!
Drop the UTF-8 conversion of ALAN sources and transcripts before their inclusion in ADoc sources:
extras_src/stdlib2utf8.sh
._assets/utf8/StdLib/
._assets/README.md
extras_src/README.md
extras_src/update.sh
:_assets/utf8/StdLib/
.include::
directives accordingly:[encoding=iso-8859-1]
option.extras_src/manual/html-build.sh
:$utfDir
env var and fix any references to it in:extras_src/update.sh
:_assets/utf8/**
.extras_src/README.md
accordingly._assets/utf8/
folder and all references to it..a3ADocLog
extension in READMEs, Git settings, etc.include::
directives in StdLib Man and Clothing Guide accordingly:[encoding=iso-8859-1]
option.extras_src/README.md
accordingly._assets/sh/
accordingly (e.g. deletealan2utf8
func=.dev-2.2.0
.Currently all documents in this project that rely on the
include::
directives to import external Alan sources and transcripts need to first convert them from ISO-8859-1 to UTF-8.In 2019 I had submitted a feature request to enable support for other encodings, which was implemented and made its way into stable releases — but hasn't yet been documented! It's usage is as follows:
By skipping the UTF-8 conversion step we'll greatly improve the build speed of the whole project.
See how this was done in the Alan-Docs repository:
References