On Wed, Oct 30, 2013 at 1:19 PM, Christopher Sean Morrison
<[email protected]> wrote:
> What?  You don't think
> http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/src/librt/db5_types.c is a
> suitable WWW registry? ;)
...
> someone whip up a page on the wiki now?)

How about we do something like this for the main site::

1.  Given that the brlcad server has CI going, let's have some
environment variable on that host that cmake can use to identify it.

2.  Do some cmake magic to compile and run a program (that I have
produced, see "src/librt/gen-registered-attributes-html.cpp") that
will generate an html page that can be linked to on the brlcad.org
site.  The program will only be compiled if need be by source
dependencies, and will only be run if the generated html page is out
of date compared to its run dependencies.

The primary dependency is a new attribute definition source file
(src/librt/db5_attrs.cpp) which has all the attribute info defined in
one data structure.

Note the files referenced here are working and on the trunk (good
build and regress)..

3.  The link to the html page should be a menu item next to or in the
middle of the upper right series:

  About | Download | Documentation | Support | Wiki | Gallery | ??

Maybe something like:

  About | Registered Attributes | Download | Documentation | Support |
Wiki | Gallery | ??

Note that I plan to have
"src/librt/gen-registered-attributes-html.cpp" generate the canonical
table of attribute data found in
"./doc/docbook/system/man5/en/attributes.xml".(and maybe some other
common info that needs definition in one place [DRY]).

Cheers!

-Tom

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to