Giter Site home page Giter Site logo

manpages's People

Contributors

laserswald avatar lassik avatar weinholt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

manpages's Issues

Handle weird characters in page names

We have some Scheme procedures that contain a /, like call/cc, but / can't be used in filenames on Unix. So these pages are currently missing. We could use a convention like call_cc.

Change from 3scheme to 3scm?

Some versions of the Unix man program (at least the version that ships with MacOS) do not recognize manual subsections longer than three characters.

The program thinks man 3sch exit refers to the page exit in a section starting with 3sch whereas if you type man 3scheme exit it thinks you are asking for two different manual pages, first 3scheme and then exit, both from any section of the manual.

For compatibility with these programs, should we change the subsection from 3scheme and 7scheme to 3scm and 7scm?

Add implementation notes?

Should we add portability notes to the manpages about how different Scheme implementations handle those things? For example, string representation used in each implementation and things like that.

Sectionless URLs and disambiguation pages

The Common Lisp HyperSpec has disambiguation pages like this: http://www.lispworks.com/documentation/HyperSpec/Body/a_list.htm

Please select which reference to LIST you intended:

  • Function
  • System Class
  • Glossary Entry

We could have URLs like https://man.scheme.org/values/ go to a disambiguation page like that.

Or we could do that the Unix man program does, and have a precedence order for sections. If a page name is found in multiple sections, and no section is specified, the page in the highest-precedence section is visited.

Linkify all the things

The current manpages link to each other like this:

.BR raise (3scheme),
.BR assert (7scheme),
.BR guard (7scheme)

Is there a purpose-built linking directive like the .Xr (cross-reference) in mdoc macros? If there is, the mandoc converter has good support for turning them into HTML links.

Sections and URL layout

The current manpage sections are 3scheme and 7scheme.

Does this mean our URLs should be
https://man.scheme.org/3scheme/values/
instead of
https://man.scheme.org/3/values/?

I.e. should 3 and 3scheme be treated as non-interchangeable?

Use unroff to generate HTML

I managed to resurrect unroff, which is a Scheme-scriptable troff parser. It runs using the version of Elk Scheme that ships in Debian (apt install elk) and produced pretty good results with little work.

I think we should ditch our patched copy of the C program man2html and patch unroff instead. It's faster and more fun, produces better output, and we'd be improving Scheme at the same time.

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.