opencpn
opencpn_user_manual
various ns & pages
dev_manual <---use skipns
supplementary_software <---use skipns
supplementary_hardware <---use skipns
toc <--- with skipns for creation of the html opencpn_user_manual?
GOAL: Use Indexmenu TOC ---> SiteExport (using ckedit render engine and dokuwiki template) to make an html off-line Help for the next release.
Indexmenu link:
https://www.dokuwiki.org/plugin:indexmenu?s[]=skip&s[]=namespace#skip_files_in_index
Skipping Pages/Namespaces
I'm having troubles getting the Indexmenu generated Table of Contents (TOC) to skip pages.
I believe it is some formatting issues with my skipns portion of the indexmenu code. Can anyone advise?
The indexmenu code in the TOC page:
{{indexmenu>:opencpn#4|msort nsort nojs skipns=/^opencpn:developer_manual$|^opencpn:supplementary_software$|^opencpn:supplementary_hardware$|^opencpn:user_corner$|^opencpn:debug3.txt$|^opencpn:opencpn_user_manual:charts:pilot_charts$|^opencpn:opencpn_user_manual:charts:advanced_chart_work$|^opencpn:opencpn_user_manual:toolbar_buttons:route_mark_manager:planning_data$/}}
What am I doing wrong, the pages still show?
When I enter this for the TOC:
{{indexmenu>:opencpn#4|msort nsort nojs skipns=/^opencpn:developer_manual$/}}
It works. The problem is due to entering multiple pages.
TOC Location
Correct location for the TOC when using that TOC page with SiteExport to generate html documents.
I've pretty much decided that I have to move the TOC up one level under "opencpn" (see above) and write skipns properly to skip
Skip these:
opencpn:dev_manual
opencpn:supplementary_hardware
opencpn:supplementary_software
and maybe the toc?
Note: We are using:
Metadata tag syntax {{indexmenu_n>N}} to sort pages in a particular numeric order, that is the "nsort" in the code.
And we are using the first Title in a page as the text for the sidebar index and TOC with Indexmenu Configuration this way
plugin»indexmenu»headpage checked --> :start :inside and :same all checked entering ":opencpn"
plugin»indexmenu»hide_headpage checked
plugin»indexmenu»page_index :opencpn:sidebar
We also have to create a blank page to force a namespace so that pages will sort properly. So then we have to tell indexmenu to ignore all those pages that have been named "blank".
plugin»indexmenu»skip_file /blank|blank)/
Pages id to skip. Use the Regular Expression format. Example /(:start$|^public:newstart$)/