Re: Anchors in Mallard
- From: Matthew Paul Thomas <mpt postinbox com>
- To: Gnome Doc List <gnome-doc-list gnome org>
- Subject: Re: Anchors in Mallard
- Date: Wed, 27 Jan 2010 21:44:50 -0500
Shaun McCance wrote on 27/01/10 13:06:
> Mallard is missing a feature that was planned from the
> beginning. We need a way for a page or section to own
> an ID other than its own. This really is important for
> maintaining a stable set of IDs as documents grow.
>...
> <page id="new-hotness">
> <info>
> <anchor id="old-and-busted"/>
> </info>
> </page>
>...
This might be easier both to remember and to write:
<page id="new-hotness" replaces="old-and-busted-1,old-and-busted-2">
>...
> I bring this up now because it occurs to me that this
> could be used as a means to remove content, which is
> something that's been mentioned lately on ubuntu-doc.
> If we consider anchors to have a higher priority than
> real IDs (and it's an open question whether we should),
> then you could effectively remove a page by claiming
> its ID in another page.
>...
Nifty. :-)
--
Matthew Paul Thomas
http://mpt.net.nz/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]