[rtems-docs commit] c-user: Generate Timer Manager documentation

Joel Sherrill joel at rtems.org
Thu Jan 14 19:20:47 UTC 2021


On Wed, Jan 13, 2021 at 6:26 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 11/12/2020 01:35, Chris Johns wrote:
>
> > On 10/12/20 4:41 pm, Sebastian Huber wrote:
> >> On 10/12/2020 03:24, Chris Johns wrote:
> >>
> >>> On 9/12/20 7:20 pm, Sebastian Huber wrote:
> >>>> Module:    rtems-docs
> >>>> Branch:    master
> >>>> Commit:    d716c79070901195912526c6e49d43defad00bdd
> >>>> Changeset:
> >>>>
> http://git.rtems.org/rtems-docs/commit/?id=d716c79070901195912526c6e49d43defad00bdd
> >>>>
> >>>>
> >>>> Author:    Sebastian Huber<sebastian.huber at embedded-brains.de>
> >>>> Date:      Wed Dec  2 08:17:12 2020 +0100
> >>>>
> >>>> c-user: Generate Timer Manager documentation
> >>>>
> >>>> The documentation is a consolidation of the comments in Doxygen markup
> >>>> and the documentation sources in Sphinx markup.  The documentation was
> >>>> transfered to interface specification items.  The documentation source
> >>>> files were generated from the items by a script.
> >>>>
> >>>> Update #3993.
> >>>>
> >>>> ---
> >>>>
> >>>>    c-user/timer/directives.rst   | 992
> ++++++++++++++++++++++++++----------------
> >>>>    c-user/timer/introduction.rst |  57 ++-
> >>>>    2 files changed, 674 insertions(+), 375 deletions(-)
> >>>>
> >>>> diff --git a/c-user/timer/directives.rst b/c-user/timer/directives.rst
> >>>> index d9b9877..d65f263 100644
> >>>> --- a/c-user/timer/directives.rst
> >>>> +++ b/c-user/timer/directives.rst
> >>>> @@ -1,463 +1,729 @@
> >>>>    .. SPDX-License-Identifier: CC-BY-SA-4.0
> >>>>    +.. Copyright (C) 2020 embedded brains GmbH (
> http://www.embedded-brains.de)
> >>>>    .. Copyright (C) 1988, 2008 On-Line Applications Research
> Corporation (OAR)
> >>>>    +.. This file is part of the RTEMS quality process and was
> automatically
> >>>> +.. generated.  If you find something that needs to be fixed or
> >>>> +.. worded better please post a report or patch to an RTEMS mailing
> list
> >>>> +.. or raise a bug report:
> >>>> +..
> >>>> +..https://docs.rtems.org/branches/master/user/support/bugs.html
> >>>> +..
> >>>> +.. For information on updating and regenerating please refer to:
> >>>> +..
> >>>> +..https://docs.rtems.org/branches/master/eng/req/howto.html
> >>>> +
> >>> We need a solution. I would prefer we resolve this before we add any
> more
> >>> instances of these links.
> >> I understand that cross-document links are a problem, however, these
> two links
> >> are in comments and thus don't show up in the generated documents. A
> link to the
> >> bug reporting should always point to the latest information since there
> is only
> >> one bug reporting procedure in the project at a time. The link to the
> howto
> >> could be branch-specific.
> > Yes I agree. My concern is a change in how master is hosted breaks the
> links.
> >
> >>> Suggestions?
> >> We could add a script which performs some post processing after
> creation the of
> >> the release branches.
> > What about ....
> >
> > https://www.rtems.org/support/bugs.html


I can add a page in Drupal with a forced name but am not sure about the
support/ part
and it looks like Drupal redirect pages are an optional feature which is
not installed and
the module may be unsupported.

When we did this type of thing before, it was always with Apache itself.
That's how we
had rtems.org/PRnnnn redirect to a specific ticket like GCC has. AFAIK This
feature
was not deemed worthy of inclusion back when the hosting was moved.

Anyway URL rewriting in Apache is simple with a regular expression in a
configuraton
file.

https://httpd.apache.org/docs/2.4/rewrite/remapping.html

All you need to do is convince the admin to add a rule.

Something like rtems.org/bugs/[567] might also be nice and shorter. Let
bugs with
no number go to https://devel.rtems.org/wiki/NewTicket which is where
"Report a Bug"
is directed on the right hand side of rtems.org.

Personally I like using the Apache rewrite engine to make shorter easier to
remember URLs.

>
> >
> > If a redirect can be set up we could insulate these links from the
> location they
> > are.
>
> I would like to fix the header. What should I do now with the link
>
> https://docs.rtems.org/branches/master/user/support/bugs.html
>
> ?
>
>  From an RTEMS Project point of view it would be good to have a permanent
> link to the bug reporting page.
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210114/4d55acbe/attachment-0001.html>


More information about the devel mailing list