doctoolchain / doctoolchain.github.io Goto Github PK
View Code? Open in Web Editor NEWjust for a redirect to the right docs page. Maybe we can turn this into a landing page later on
just for a redirect to the right docs page. Maybe we can turn this into a landing page later on
Looks like dtcw
is maintained here (why? I am always confused ;-)).
Cf. docToolchain/docToolchain#867 for the bug report.
doctoolchain.github.io/dtcw.bat
Lines 139 to 144 in 7535386
TODO
comment in 7535386. It's been assigned to @rdmueller because they committed the code.it seems that older versions of wget have problems with SSL:
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
https://stackoverflow.com/questions/30817876/wget-ssl-alert-handshake-failure
the wrapper should test the version and print some error message when it detects an old version
we should add --no-daemon
Docker can also be installed in directories, that contain spaces.
This is not likely on linux/wsl, but as #21 adds support for cygwin/msys2 (used in git bash), the path for docker on Windows is by default /c/Program Files/Docker/Docker/resources/bin/docker
(from git bash's perspective), which leads to error:
bash: /c/Program: No such file or directory
when e.g. ./dtcw tasks --group=doctoolchain
is executed in git bash.
Possible fix is in PR #22
solution would be
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
doctoolchain.github.io/dtcw.bat
Lines 122 to 127 in 7535386
TODO
comment in 7535386. It's been assigned to @rdmueller because they committed the code.If java
is not on a default path (as set by /etc/default/login or other means), the wrapper fails since the executable cannot be found when doctoolchain is finally called.
The reason for this is the call to bash
with the -l
flag in line 37:
Line 237 in 068e50e
This causes bash to work as login shell and reset any environment variables to their login defaults.
doctoolchain.github.io/dtcw.bat
Lines 19 to 24 in 7535386
TODO
comment in 7535386. It's been assigned to @rdmueller because they committed the code.Hi!
I just tested docToolChain 2.0 with the new wrapper and found that it does not run ootb (dtcw - docToolchain wrapper V0.18 (PS)
). A closing bracket is missing (no Docker is installed on my Windows system):
PS C:\Workspace\archdocu2> ./dtcw.ps1 generateHtml
At C:\Workspace\archdocu2\dtcw.ps1:116 char:6
+ else {
+ ~
Missing closing '}' in statement block or type definition.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingEndCurlyBrace
After fixing this, I encountered the next problem:
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Workspace\archdocu2\dtcw.ps1:121 char:23
+ if (Test-Path $FolderName) {
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
I assumed that instead of if (Test-Path $FolderName)
, it needs to be if (Test-Path $home_path)
.
With this change, the download succeeds and the script is able to run.
Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
doctoolchain.github.io/dtcw.bat
Lines 131 to 136 in 7535386
TODO
comment in 7535386. It's been assigned to @rdmueller because they committed the code.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.