> Suppose 'home' and 'away' are the host names of two machines on an
> intranet which has ad.min.com as its domain name and also suppose that
> there is a Fossil repository and server installed and running on
> home.ad.min.com <http://home.ad.min.com/>  on port 8080.  A browser
> running on away can access the wiki at http://home.ad.min.com:8080/home,
> assuming default Fossil configurations.
>
> Using wiki markup, the home machine refers to another wiki page on the
> home repository by specifying, for example,
>
>      [otherPage]
>
> The html source viewed by the home site is
>
>      <a href-"http://localhost:8080/wiki?name=otherPage";>otherPage</a>
>
> but viewed from the away machine's browser the source is
>
>      <a
> href-"http://home.ad.min.com:8080wiki?name=otherPage";>otherPage</a>
>
> which is of course what you want.  The home machine can also refer to a
> page of embedded documentation using markup like
>
> [http://localhost:8080/doc/tip/docDir/embeddedDocFile.wiki|otherEmbedded
> Page]
>

To refer to one embedded doc from another, you should be doing

    [./embeddedDocFile.wiki|otherEmbeddedPage]

i.e. a relative link.

To refer from a wiki page to an embedded doc, do

    [/doc/tip/docDir/embeddedDocFile.wiki|EmbeddedPage]

For examples of the former in Fossil's own repository, see index.wiki, for
the latter, see the wiki page Branching.

Eric

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to