[petsc-dev] dates of last change on PETSc web pages
Jed Brown
jedbrown at mcs.anl.gov
Tue Mar 20 22:23:27 CDT 2012
On Tue, Mar 20, 2012 at 21:59, Sean Farley <sean at mcs.anl.gov> wrote:
> Oh, I think I see why I was confused now. I was talking about having a
> place holder (i.e. something like <div id="modified"></div>) in each page
> and that something would need to insert the output of $(hg log -l 1
> --template '{date|dateiso}'). If I added javascript to the page then it
> would just get the date from a webservice ... which is pretty much
> worthless because the content wouldn't necessarily match the date.
>
We could put the placeholder if necessary, but the date should not be in
the checked-in source, just in the result of "make alldoc".
>
> Editing the pages is no biggie, Jed can give you a perl one liner to put
>> the chunk of stuff you need added to each page.
>
>
> So you want the dates stored permanently in each webpage under
> src/docs/website (which would alter the commit history)?
>
No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120320/e41976d5/attachment.html>
More information about the petsc-dev
mailing list