doxygen or similar for skill

Discussion in 'Cadence' started by danmc, Sep 5, 2008.

  1. danmc

    danmc Guest

    Does anyone have a favorite way for putting documentation for skill
    functions inline with the code? I'm thinking of something similar to
    what doxygen provides for c programs.

    The reason I'm looking for this is that over the years I have
    developed many skill procedures but my documentation has been somewhat
    lacking. You have to search through the .il files and read comments
    and that makes it difficult for others to see what utilities I have
    available and how to use them.

    I have found in the past with other projects that keeping the
    documentation somewhere else entirely leads to out of date and
    incomplete documentation in a hurry.

    If there is a good system for doing docs inline with skill I'd rather
    use that than reinvent the wheel.

    Thanks
    -Dan
     
    danmc, Sep 5, 2008
    #1
  2. danmc

    Riad KACED Guest

    Hi Dan,

    There is no such utility with Skill as far as I know. I did cross-
    check my Cadence's Orange Book (The skill quick reference book) this
    evening and there is no word about such a thing I'm afraid. I might be
    wrong though ...

    The simplest solution I could see for this is maybe to ask Cadence to
    get the POD documentation format recognized by the skill compiler.
    Something similar to perl/perldoc would be great.

    Otherwise, it would very easy to write a kind of 'perldoc' to parse a
    skill document and output the comments. A little perl script will do
    this basic task.
    But like you, I don't like to reinvent the wheel, so let's see what
    the experts think about it.

    Cheers,
    Riad.
     
    Riad KACED, Sep 14, 2008
    #2
  3. danmc

    danmc Guest

    I may play around with POD embedded in a multi-line comment. I just
    hope emacs skill-mode doesn't try to
    keep formatting my POD stuff in a bad way (like indenting the leading
    =head1).

    -Dan
     
    danmc, Sep 23, 2008
    #3
  4. danmc

    danmc Guest

    ok, so emacs skill-mode isn't that happy with POD, but it sort of
    works. I'll probably give this a shot for a little bit and see if it
    seems worth continuing on.

    -Dan
     
    danmc, Sep 23, 2008
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.