-
Notifications
You must be signed in to change notification settings - Fork 268
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
Revise and possibly automate offline documentation build process #881
Comments
#882 has a few minor enhancements to the fix-static-docs.php script. |
Can confirm that the wget command plus the fix-static-docs.php can build offline documentation in 2 (and a half steps). The image "download-big.png" is kept outside of the accessible pages, so we should just keep this as a separate resource and copy it into the final directory tree before zipping it up. This is so simple we should just automate the whole process. Maybe once a week could be good? We could also remove the plugins we don't need |
Many thanks for looking into it and confirming that it works.
I remember facing this issue on my work laptop. Most likely the certificates authority on your Cygwin is not up-to-date. Did you try installing the ca-certificates package ? It's been a while since I've fixed that issue, and I don't remember how I did it. If you can't fix it, then I guess that for our purposes it may be acceptable to skip the SSL certificate check.
Weird that this image is not being downloaded, while the Twitter and GitHub icons are.
Indeed, that was the idea when I tested downloading the site with wget I'll work on a script to automate the documentation build.
That sounds overkill to me - looking at the history of changes over the past months, it's quite static.
That would be just the sync plugin then ? siteexport we still need. |
I just had a look at this today, and I can see the download-big.png image in the unzipped download directory, as well as the generated documentation directory after running the fix-static-docs.php script.
The image is correctly rendered when browsing the static html index page. Maybe it was a glitch on your end ? |
Comparing the output from the script with the 5.21 documentation zip file, I notice some differences |
Offline documentation has not been built for a long time (most recent one goes back to 2020-01-26).
Following recent discussion with @mnewnham the build process is currently quite complex, involving a local copy of the https://adodb.org wiki (updated using Dokuwiki sync plugin), which is converted to static HTML files using the SiteExport plugin. These files are cleaned up using a PHP script, then manually zipped and uploaded to SourceForge.
This could probably be simplified, e.g. by directly exporting the wiki from adodb.org (without the local instance).
I tried with the following commands:
Seems to work AFAICT, maybe you want to test and confirm that the output matches what you get with the current process
The text was updated successfully, but these errors were encountered: