-
Notifications
You must be signed in to change notification settings - Fork 85
Spelling #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Spelling #37
Changes from all commits
b646ac4
6347948
8cdfb60
0428411
a153f7e
9ccfef7
90cd24a
2a99627
d315704
0bb0038
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ edown markedoc 0.3.2 | |
|
|
||
| This is the opposite direction from what **edown** otherwise does. | ||
|
|
||
| markedoc translates [Markdown][] formatted texts into [Erlang][] [EDoc][] format, for inclusion into [EDoc][] generated html docs. It is for use on Linux, FreeBSD and Mac OS X and any system that you can install **[sed][Requirements]** on. | ||
| markedoc translates [Markdown][] formatted texts into [Erlang][] [EDoc][] format, for inclusion into [EDoc][] generated html docs. It is for use on Linux, FreeBSD and macOS and any system that you can install **[sed][Requirements]** on. | ||
|
|
||
| Status: [pre-beta][Status]. Quite stable and usable. See [Status][]. | ||
|
|
||
|
|
@@ -17,13 +17,13 @@ Use <a name=Use></a> | |
| --- | ||
| At the command line for | ||
|
|
||
| **FreeBSD, Mac OS X** | ||
| **FreeBSD, macOS** | ||
| $ sed -E -f markedoc.sed <markdown file> > <edoc file> | ||
|
|
||
| **Linux** | ||
| $ sed -r -f markedoc.sed <markdown file> > <edoc file> | ||
|
|
||
| Usage for Linux and FreeBSD and Mac OS X is completely the same, except for the -r instead of the -E parameter. Both mean the same but happen to have a different name. In the examples below, replace -E with -r where necessary. | ||
| Usage for Linux and FreeBSD and macOS is completely the same, except for the -r instead of the -E parameter. Both mean the same but happen to have a different name. In the examples below, replace -E with -r where necessary. | ||
|
|
||
| Requirements <a name=Requirements></a> | ||
| ------------ | ||
|
|
@@ -34,7 +34,7 @@ Requirements <a name=Requirements></a> | |
| Test <a name=Test></a> | ||
| ---- | ||
|
|
||
| **FreeBSD, Mac OS X** | ||
| **FreeBSD, macOS** | ||
| $ samples/markedoc/test-bsd.sh | ||
|
|
||
| **Linux** | ||
|
|
@@ -47,7 +47,7 @@ Sample <a name=Sample></a> | |
|
|
||
| From edown project root, try out: | ||
|
|
||
| **FreeBSD, Mac OS X** | ||
| **FreeBSD, macOS** | ||
| $ sed -E -f bin/markedoc.sed samples/markedoc/SAMPLE1.md > samples/markedoc/doc/SAMPLE.edoc | ||
| $ erl -noshell -run edoc_run application "'myapp'" '"samples/markedoc"' '[]' | ||
|
|
||
|
|
@@ -67,7 +67,7 @@ This illustrates the motivation for the markedoc as it is now: to have all code | |
|
|
||
| For your own projects you'd copy markedoc.sed in the right place and do something like: | ||
|
|
||
| **FreeBSD, Mac OS X** | ||
| **FreeBSD, macOS** | ||
| $ sed -E -f bin/markedoc.sed README.md > doc/README.edoc | ||
| $ erl -noshell -run edoc_run application "'myapp'" '"."' '[]' | ||
|
|
||
|
|
@@ -79,7 +79,7 @@ And that's it. This could also be part of your Makefile. For the intermediary RE | |
|
|
||
| @docfile "doc/README.edoc" | ||
|
|
||
| By running sed, then edoc, this makes the README.edoc part of the overview page. You could also make the README.md straight into an overview.edoc but the way it is allows allows to embed it into additional context information that should be useful for a proper html doc. | ||
| By running sed, then edoc, this makes the README.edoc part of the overview page. You could also make the README.md straight into an overview.edoc but the way it is allows to embed it into additional context information that should be useful for a proper html doc. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fwiw, i'd be inclined to write |
||
|
|
||
| Accordingly, the sample stub overview.edoc used for the samples here, looks like this: | ||
|
|
||
|
|
@@ -102,7 +102,7 @@ both worlds: | |
|
|
||
|
|
||
| This makes a tag `[example][]' into a direct jump to the headline 'Example', in both markdown and edoc. | ||
| Markdown actually uses the `[sample]: #sample' reference. EDoc, however, automatically inserts an anchor for 'Example' being a headline, and of the same name. (The links are not case sensitive.) | ||
| Markdown actually uses the `[sample]: #sample' reference. EDoc, however, automatically inserts an anchor for 'Example' being a headline, and of the same name. (The links are not case-sensitive.) | ||
| If you get the reference wrong or forget to make it, the link tag will be displayed in the open, as actual `[example][]'. | ||
|
|
||
|
|
||
|
|
@@ -156,14 +156,14 @@ History | |
|
|
||
| * integrated into edown | ||
|
|
||
| 02/05/11 - 0.3.1 - **more polish** - Linux, FreeBSD, Mac OS X | ||
| 02/05/11 - 0.3.1 - **more polish** - Linux, FreeBSD, macOS | ||
|
|
||
| * added weeding out of markdown anchor references (an md workaround) | ||
| * added protection for & (but edoc still only accepts number codes) | ||
| * fixed trip up by trailing spaces in underline headline format | ||
| * checked commented out alternate code for code blocks and references. | ||
|
|
||
| 02/03/11 - 0.3 - **rough edges polished** - Linux, FreeBSD, Mac OS X | ||
| 02/03/11 - 0.3 - **rough edges polished** - Linux, FreeBSD, macOS | ||
|
|
||
| * added doc for Linux use | ||
| * added support for multi-line '[..]: ... "..."' references | ||
|
|
@@ -173,12 +173,12 @@ History | |
| * guillemots <<, >> and middle dot :: | ||
| * added test batches etc/test-bsd.sh and etc/test-linux.sh | ||
| * added css sample in samples/markedoc/what-you-could-see/ | ||
| * added classes for ``< li >'' list item tags for '[..]:...'-references | ||
| * fixed italic and bold merker interference bullet points | ||
| * eliminated [..]: part of '[..]:...'-references, flipping "..." to lead | ||
| * added classes for ``< li >`` list item tags for `[..]:...`-references | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think |
||
| * fixed italic and bold marker interference bullet points | ||
| * eliminated [..]: part of `[..]:...`-references, flipping "..." to lead | ||
| * dev: sample creation batch make_samples.sh added | ||
|
|
||
| 02/02/11 - 0.2 - **basics complete** - FreeBSD / Mac OS X | ||
| 02/02/11 - 0.2 - **basics complete** - FreeBSD / macOS | ||
|
|
||
| * added support for === and --- headline format | ||
| * fixed cutting off of last lines | ||
|
|
@@ -188,7 +188,7 @@ History | |
| * eliminated need for echoing '@doc' first into edoc output file | ||
| * added javascript title tag setting for '[..]:...'-style references. | ||
|
|
||
| 01/31/11 - 0.1 - **first release:** FreeBSD / Mac OS X | ||
| 01/31/11 - 0.1 - **first release:** FreeBSD / macOS | ||
|
|
||
| [Requirements]: #Requirements | ||
| [Status]: #Status | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ Open Source Erlang MySQL driver efforts are currently a fractured matter, at lea | |
|
|
||
| <li> <b>Yxa</b>: The first Erlang MySQL driver seems to have been written in 2005 by <a href="javascript:goto('ma')" onMouseOver="this.title=url('ma')">Magnus Ahltorp</a> at the <a href="javascript:goto('3')" onMouseOver="this.title=url('3')">Royal Institute of Technology</a>. It is the basis for the following two. The <a href="javascript:goto('4')" onMouseOver="this.title=url('4')">original mysql driver source</a> is stable since at least 2007, it is available as part of the SIP proxy <a href="javascript:goto('5')" onMouseOver="this.title=url('5')">Yxa 1.0</a> (hosted <a href="javascript:goto('6')" onMouseOver="this.title=url('6')">on github</a>).</li> | ||
|
|
||
| <li> <b>ejabberd</b>: Already in 2006, a <a href="javascript:goto('7')" onMouseOver="this.title=url('7')">fork</a> was created by <a href="javascript:goto('mr')" onMouseOver="this.title=url('mr')">Mickael Remond</a> at <a href="javascript:goto('8')" onMouseOver="this.title=url('8')">Process One</a> to become part of the successful instant messaging server <a href="javascript:goto('9')" onMouseOver="this.title=url('9')">ejabberd</a> (also hosted <a href="javascript:goto('10')" onMouseOver="this.title=url('10')">at github</a>). It can be assumed to be as stable as the Yxa branch, and it didn't change anything in the lowest level, mysql_recv.erl. The differences to the original Yxa branch mainly consists of added inspection functions that help using query results, and an <a href="javascript:goto('11')" onMouseOver="this.title=url('11')">independent adoption</a> to the MySQL 4.1 client-server protocol. Also, the original Yxa branch has meanwhile adopted edoc comment format. Find a diff <a href="javascript:goto('12')" onMouseOver="this.title=url('12')">here</a>, one ignoring comment lines <a href="javascript:goto('13')" onMouseOver="this.title=url('13')">here</a>.</li> | ||
| <li> <b>ejabberd</b>: Already in 2006, a <a href="javascript:goto('7')" onMouseOver="this.title=url('7')">fork</a> was created by <a href="javascript:goto('mr')" onMouseOver="this.title=url('mr')">Mickael Remond</a> at <a href="javascript:goto('8')" onMouseOver="this.title=url('8')">Process One</a> to become part of the successful instant messaging server <a href="javascript:goto('9')" onMouseOver="this.title=url('9')">ejabberd</a> (also hosted <a href="javascript:goto('10')" onMouseOver="this.title=url('10')">at github</a>). It can be assumed to be as stable as the Yxa branch, and it didn't change anything in the lowest level, mysql_recv.erl. The differences to the original Yxa branch mainly consists of added inspection functions that help using query results, and an <a href="javascript:goto('11')" onMouseOver="this.title=url('11')">independent adoption</a> to the MySQL 4.1 client-server protocol. Also, the original Yxa branch has meanwhile adopted edoc comment format. See a <a href="javascript:goto('12')" onMouseOver="this.title=url('12')">Diff of ejabberd mysql driver vs yxa mysql driver</a>, or a <a href="javascript:goto('13')" onMouseOver="this.title=url('13')">Diff of ejabberd mysql driver vs yxa mysql driver (comment changes ignored)</a>.</li> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's possible this isn't a proper change. as a general rule: Do not use
|
||
|
|
||
| <li> <b>erlang-mysql-driver</b>: in 2006/07 <a href="javascript:goto('ys')" onMouseOver="this.title=url('ys')">Yariv Sadan</a> created a fork from the ejabberd branch, made it a standalone project, gave it the name that stuck, and hosted it at <a href="javascript:goto('15')" onMouseOver="this.title=url('15')">Google Code</a>. Before he moved on to work at Facebook, he had added higher level handling of prepared statements and transactions, and stated that he had improved connection pooling and logging. There were changes both in the original Yxa and the ejabberd branch after the forking off that seem to never have made their way into the erlang-mysql-driver branch, which now lies dormant since Oct '07. Docs were somewhat unsatisfying, as much as for the earlier branches. In Feb '10, Dave Smith started making some</li> | ||
| <a href="javascript:goto('15')" onMouseOver="this.title=url('15')">updates</a> and put them on github, were the driver is now enjoying a couple of <a href="javascript:goto('16')" onMouseOver="this.title=url('16')">active forks</a> that make for a convincing case in favor of the github Network graph. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last release of "Mac OS X" was Snow Leopard (10.6 in 2009). "macOS" is the current brand (since 10.12, 2016): https://en.wikipedia.org/wiki/MacOS_version_history