Closed leamas closed 3 years ago
@rasbats: The duplicate files exists as separate copies in manual/master_plugins and manual/beta-plugins. I have removed those which are part of plugins I have worked with, but left the others.
Note that when removing it's not only about the .adoc file but rather the complete component
manual/beta-plugins/modules/ROOT/nav.adoc
manual/beta-plugins/modules/ROOT/pages/beta-plugins.adoc
manual/beta-plugins/modules/ROOT/pages/index.adoc
manual/beta-plugins/modules/admiralty/pages/admiralty.adoc
manual/beta-plugins/modules/autopilot-rm/pages/autopilot-rm.adoc
manual/beta-plugins/modules/autopilot_route/pages/autopilot_route.adoc
manual/beta-plugins/modules/engine-dash/pages/engine-dash.adoc
manual/beta-plugins/modules/javascript/pages/javascript.adoc
manual/beta-plugins/modules/ncdf/pages/ncdf.adoc
manual/beta-plugins/modules/otidalroute/pages/otidalroute.adoc
manual/beta-plugins/modules/sailawaynmea/pages/sailawaynmea.adoc
manual/beta-plugins/modules/survey/pages/survey.adoc
manual/beta-plugins/modules/tidefinder/pages/tidefinder.adoc
manual/beta-plugins/modules/trackpoint/pages/trackpoint.adoc
manual/beta-plugins/modules/uktides/pages/uktides.adoc
manual/master-plugins/modules/ROOT/nav.adoc
manual/master-plugins/modules/ROOT/pages/index.adoc
manual/master-plugins/modules/ROOT/pages/plugins.adoc
manual/master-plugins/modules/ROOT/partials/nav-betaplugins.adoc
manual/master-plugins/modules/ROOT/partials/nav-plugins.adoc
manual/master-plugins/modules/authoring/pages/FAQ.adoc
manual/master-plugins/modules/authoring/pages/TODO.adoc
manual/master-plugins/modules/authoring/pages/author.adoc
manual/master-plugins/modules/authoring/pages/intro.adoc
manual/master-plugins/modules/authoring/pages/localbuild.adoc
manual/master-plugins/modules/authoring/pages/pm-plugin-documentation.adoc
manual/master-plugins/modules/authoring/pages/tools.adoc
manual/master-plugins/modules/authoring/pages/useful.adoc
manual/master-plugins/modules/chart_downloader_tab/pages/chart_downloader_tab.adoc
manual/master-plugins/modules/dashboard/pages/dashboard.adoc
manual/master-plugins/modules/ge2kap/pages/ge2kap.adoc
manual/master-plugins/modules/grib_weather/pages/grib_weather.adoc
manual/master-plugins/modules/grib_weather/pages/mail_servers.adoc
manual/master-plugins/modules/oernc/pages/oernc.adoc
manual/master-plugins/modules/squiddio/pages/squiddio.adoc
manual/master-plugins/modules/wmm/pages/wmm.adoc
I removed everything besides
Instructions how to retrieve files from the git history (nothing is ever lost!) in https://github.com/opencpn-manuals/main/discussions/14, should it be required.
Had to fix interesting errors in the navigation links since some of them pointed to the duplicated stuff.
@leamas : Have you got an example of a file link that works. Problems with vdr still.
index.adoc Works in Firefox but not from the website. The file is rausch...zip
Ok ... found {attachmentsdir} in deviation_pi.
Now working.
been away, on phone now. Good that it works for you. There is no more duplication, closing
BTW:
This has caused problems for vdr (again). I will try and edit sources.state and site.yml to reflect the fork in opencpn-manuals.
What I do:
Then, use source-state.sh to record the state of sources and commit:
$ cd ..
$ ./source-state.sh save
$ git diff sources.state # check that the new (new fork of )plugin is properly recorded
$ git add sources.state
$ git commit -m "sources: Adding xxx"
rausch.zip Is a sample file for VDR_pi
Taking twocan as an example here seems to be two copies, one of which outdated and buggy:
1
2