Skip to content

Append .md suffix to text docs. Adjust references. - #36

Merged
schmonz merged 12 commits into
masterfrom
doc-file-extensions
Jun 11, 2020
Merged

schmonz merged 12 commits into
masterfrom
doc-file-extensions

Conversation

@schmonz

@schmonz schmonz commented Jul 19, 2019 •

Copy link
Copy Markdown
Member

Rationale, in some sort of order:

  • Plain text is already valid Markdown (and we can improve it as we go)
  • Markdown is already plain text, readable in all the same ways
  • GitHub also renders Markdown nicely in web browsers
  • Changing installed names for docs is a non-zero compatibility break,
    but we consider it small enough to tolerate:
    1. Programs are unaffected
    2. People will press <tab> and find what they're seeking

Supports goals: Being easily packaged by OS integrators
Broaches non-goals: Breaking compatibility (but tolerably so)
Risks: Users won't find needed info; patches to hier.c may get skewed

@schmonz schmonz added this to the 1.07 milestone Jul 19, 2019
@alanpost

Copy link
Copy Markdown
Contributor

For files like INSTALL.mds, which you have renamed to INSTALL.mds.md, what do you think about replacing the first (original) period (.) with a dash (-)? INSTALL.mds.md visually looks like INSTALL.tar.gz, in that you expect this to be an .md .mds file, whereas using a dash more idiomatically states this is the -mds section of the INSTALL notes.

Comment thread SYSDEPS.md Resolved
Comment thread install-big.c Resolved
@schmonz

schmonz commented Jul 20, 2019

Copy link
Copy Markdown
Member Author

Renaming a little more, so we have INSTALL-foo.md instead of INSTALL.foo.md: I'm open to the idea. If you're reading this, what do you prefer?

@DerDakon

Copy link
Copy Markdown
Member

I would spare 2 files from this:

  • COPYRIGHT, as that may where e.g. GitHub as well as other tools automatically look for. I guess most will look for copyright* case insensitive, but still.
  • TARGETS: it's just an internal file of the buildsystem, and it's also where the .gitignore file is symlinked to. Making this markdown gives no benefits as it's just a list of files.

@schmonz
schmonz force-pushed the doc-file-extensions branch 4 times, most recently from 5b06f21 to eaf8e72 Compare May 23, 2020 15:42

@josuah josuah left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Files can be further renamed from INSTALL.alias.md to INSTALL-alias.md later if wanted.

Comment thread INTERNALS.md Resolved
schmonz added 2 commits June 10, 2020 17:01
Rationale, in some sort of order:

- Plain text is already valid Markdown (and we can improve it as we go)
- Markdown is already plain text, readable in all the same ways
- GitHub also renders Markdown nicely in web browsers
- Changing installed names for docs is a non-zero compatibility break,
  but we consider it small enough to tolerate:
    1. Programs are unaffected
    2. People will press <tab> and find what they're seeking

Supports goals: Being easily packaged by OS integrators
Broaches non-goals: Breaking compatibility (but tolerably so)
Risks: Users won't find needed info; patches to hier.c may get skewed
@schmonz
schmonz force-pushed the doc-file-extensions branch from eaf8e72 to 079513a Compare June 10, 2020 15:03
@schmonz
schmonz merged commit b39f9ca into master Jun 11, 2020
@schmonz
schmonz deleted the doc-file-extensions branch June 11, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants