opencpn-manuals / plugins

Part of opencpn-manuals/main, not maintained as a separate manual
4 stars 3 forks source link

Autopilot_Route xref problem #55

Closed rgleason closed 3 years ago

rgleason commented 3 years ago

I am having lots of trouble figuring out what exactly is wrong with this link

xref:opencpn-plugins:misc:rpi-setups.adoc

also tried xref::opencpn-plugins:misc:rpi-setups.adoc For an earlier version that also fails see https://opencpn-manuals.github.io/plugins/autopilot_route/0.1/index.html at the bottom of the plugin

Any ideas?

rgleason commented 3 years ago

BTW this is almost the same as Terminology xref used in Weather_routing

xref:opencpn-plugins:misc:terminology.adoc[Terminology Reference] used in this Manual.

My paths to it are exactly the same

C:\Users\Rick\Documents\GitHub\OM-plugins\manual\master-plugins\modules\misc\pages\terminology.adoc  
C:\Users\Rick\Documents\GitHub\OM-plugins\manual\master-plugins\modules\misc\pages\rpi-setups.adoc

So why isn't that link working?

Now I notice that miscl.adoc has

xref:opencpn-plugins:misc:rpi-setups.adoc[RPI Setups]

so it should work!

Rasbats commented 3 years ago

You have xref::opencpn-plugins. But the ref is inline with other stuff so you need: xref:opencpn-plugins (Single colon) On a separate line it would have been ok.

rgleason commented 3 years ago

I tried that first. Did not work either

Rasbats commented 3 years ago

Even a local build is using site.yml which is pulling the index.adoc from your repo. If you edit the repo again (using :) I will update sources.state and try again.

rgleason commented 3 years ago

Ok, thanks. I see your point. Perhaps that wasnt completed. Just got up. Will do in 1/2 hr.

rgleason commented 3 years ago

Mike, I made the change to the last xref. Thanks.

rgleason commented 3 years ago

Seems to be working now great thnks