GithubHelp home page GithubHelp logo

Comments (6)

RichardLitt avatar RichardLitt commented on May 22, 2024 1

yes!

from standard-readme.

RichardLitt avatar RichardLitt commented on May 22, 2024

Thanks! This is great.

from standard-readme.

RichardLitt avatar RichardLitt commented on May 22, 2024

Thanks! Worked some of these in. I think they are perl specific, sometimes, and I want to keep this as general as possible.

from standard-readme.

hackergrrl avatar hackergrrl commented on May 22, 2024

Here are a few tidbits that are pretty general but extremely spot on:

from perlmodstyle:

The level of detail in Perl module documentation generally goes from
less detailed to more detailed. Your SYNOPSIS section should
contain a minimal example of use (perhaps as little as one line of
code; skip the unusual use cases or anything not needed by most
users); the DESCRIPTION should describe your module in broad terms,
generally in just a few paragraphs; more detail of the module's
routines or methods, lengthy code examples, or other in-depth
material should be given in subsequent sections.

Ideally, someone who's slightly familiar with your module should be
able to refresh their memory without hitting "page down". As your
reader continues through the document, they should receive a
progressively greater amount of knowledge.

from http://mathforum.org/ken/perl_modules.html#document:

Your documentation is complete when someone can use your module without ever
having to look at its code. This is very important. This makes it possible for
you to separate your module's documented interface from its internal
implementation (guts). This is good because it means that you are free to
change the module's internals as long as the interface remains the same.

Remember: the documentation, not the code, defines what a module does.

from standard-readme.

RichardLitt avatar RichardLitt commented on May 22, 2024

I should merge these thoughts in with a reasoning for each section in the spec. Reopening to remind myself to.

from standard-readme.

hackergrrl avatar hackergrrl commented on May 22, 2024

from standard-readme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.