New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

olddoc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

olddoc

  • 1.9.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= olddoc - old-fashioned Ruby documentation generator

olddoc contains old-fashioned document generators for those who do not wish to impose bloated, new-fangled web cruft on their readers.

olddoc contains dark216, a HTML generator without any images, frames, or JavaScript. It is designed for users of text-based browsers and/or low-bandwidth connections; yet respects user preference for light color schemes in new CSS browsers while favoring darkness for power savings on OLED and CRT displays. dark216 focuses on text as it is the lowest common denominator for accessibility and compatibility with people and hardware.

== Reasons

  • No CSS required. Encouraging users to use CSS leads to problems like copy-paste hijacking: https://thejh.net/misc/website-terminal-copy-paste External CSS also increases page load time as it often blocks page rendering. Asynchronous loading of CSS also causes accessibility problems as links/buttons may move as a user attempts to click.

  • No JavaScript. There is a constant barrage of security and client-side performance problems associated with it. It's also unreasonable to expect users to rely on LibreJS and inspect every piece of JS they run.

  • No frames. Frames are an accessibility hassle and unfriendly to users of tiny screens on mobile devices and text-based browsers.

  • No images. Not everyone can view or afford bandwidth to load images. This also reduces the potential for security vulnerabilities as less code gets run. Furthermore, loading the wrong image in a public place can get you arrested (or worse).

Encourage readers to simplify and speed up their browsing experience. They can disable CSS, JavaScript, and images in their browser without missing out!

== Usage

gem install olddoc
cd $ANY_RDOC_USING_RUBY_PROJECT
rdoc -f dark216

You can also use olddoc to generate NEWS entries assuming you have git tags, a README file and .olddoc.yml

olddoc prepare

And "olddoc merge" to merge instances of "olddoc_placeholder" in an HTML file with HTML fragments generated with other tools such as pandoc(1). This requries an appropriately configured .olddoc.yml with a "merge_html" section see olddoc(5)

== Source code

git clone https://80x24.org/olddoc.git

Please use git-format-patch(1) and git-send-email(1) distributed with the git(7) suite for generating and sending patches. Please format pull requests with the git-request-pull(1) script (also distributed with git(7)) and send them via email to olddoc-public@80x24.org

== Contact

All feedback (comments, results, feature requests, bug reports, patches, pull-requests) via plain-text email is very much appreciated.

Please send plain-text email to us at olddoc-public@80x24.org Use reply-to-all as we do not require any sort of subscription. HTML will not be read. olddoc is for GUI-phobes, by GUI-phobes. We archive all of our mail publically at:

https://80x24.org/olddoc-public/
nntp://news.public-inbox.org/inbox.comp.lang.ruby.olddoc

== License

olddoc is copyrighted Free Software by all contributors, see logs in revision control for names and email addresses of all of them.

olddoc is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

olddoc is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see https://www.gnu.org/licenses/gpl-3.0.txt

FAQs

Package last updated on 10 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc