i-net-software / dokuwiki-plugin-siteexport

DokuWiki plugin to export pages or namespaces to static html
https://www.dokuwiki.org/plugin:siteexport
GNU General Public License v2.0
24 stars 12 forks source link

Almost working: #130

Open rgleason opened 7 months ago

rgleason commented 7 months ago

Here is my site export plugin configuration setup page from previous years. https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:edit_user_manual:administrator:sitexport_config_oldmanual

Some things have changed since then, but some things haven't From previous successful years a TOC page has to be used. We are using this code for the page:

{{indexmenu>:opencpn:manual_basic#5|msort nsort nojs skipns=/(opencpn:toc_manual_basic|opencpn:toc|opencpn:user_corner|opencpn:developer_manual|opencpn:opencpn_user_manual|opencpn:supplementary_hardware| opencpn:supplementary_software|opencpn:edit_user_manual|opencpn:community_dev|opencpn:community_user|0pencpn:dev_manual|opencpn:manual_plugins|opencpn:manual_advanced)/}}

Then to use Site Export open Table of Contents Page and go to Admin > Site Export and set the configuration.

Set Namespace:  opencpn:manual_basic:toc
Parent Namespace to export:  opencpn:manual_basic:toc

Set Depth to between 4 and 6     It completes with no links at depth=5 or about 180 pages. at depth=6 it fails.
Export linked pages:  Unchecked  (when try checked it fails)
Export all parameters  "do"     Checked.

Render Engine:  ckgedit
Export Template: dokuwiki

No other checks in the configuration.

Debug Error.log has no current errors.

I have checked all the links in many ways, and am wondering if there is anything else I should check. Also I would like to understand what these do more specifically.

rgleason commented 7 months ago

I after setting Depth = 3 and Checking Linked, a SiteExport.zip downloaded successfully. When I use that file when it is expanded, and then opening the TOC.html and check the linking, I find that the first level does link and the levels below that don't because I can't get a depth = 5 or 6 to complete a file.

Also the TOC does link, but the Indexmenu alongside does not and it has a "Capcha" notice blocking notice.

Screenshot (2171)

Screenshot (2172)

Screenshot (2169)

Screenshot (2170)

rgleason commented 7 months ago

Since the Sidebar Indexmenu does not seem to be working:

  1. Is there a way to get the Index Menu links working? Is that a setting in SiteExporter?
  2. If not, is there a way to remove the display of the Sidebar? How would that be accomplished?
  3. I would prefer the first action.
  4. Is there a way to remove the typical Dokuwiki format, so it is more like a manual? How would that be accomplished?

One of the other bigger problems is

  1. How to get all the lower links to complete, with depth 5 or 6. What should I be looking for to make the necessary changes to the documents?