-
Notifications
You must be signed in to change notification settings - Fork 178
Improve detail of exporter addition docs #162
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
Improve detail of exporter addition docs #162
Conversation
@AnotherButler, your assistance in all matters editing is appreciated. |
@sg- @toyowata @screamerbg @maclobdell This is the documentation improvement I promised. |
@AnotherButler @iriark01 I'm pretty sure that this document is not referenced from anywhere in other part of the contribution guide. Should we add a few more references to it? |
ee8327a
to
4374c79
Compare
4374c79
to
8f69af0
Compare
This is great! Thanks, Jimmy |
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.
@theotherjimmy This is fab. I left several suggested changes for you. Nice work.
docs/cont/adding_exporters.md
Outdated
@@ -1,18 +1,26 @@ | |||
# Adding exporters | |||
|
|||
This is a guide for adding exporters to the mbed-os tools. It covers the structure of the export subsystem and the individual exporter. | |||
This is a guide for adding exporters to the mbed-os tools. First, This document describes what an exporter is and what rules it follows. Then, it covers the structure of the export subsystem and the individual exporter. Finally, this document gives some implementation suggestions. |
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.
Please lower case "this" in the second sentence.
docs/cont/adding_exporters.md
Outdated
|
||
<span class="notes">**Note:** All paths are relative to [https://github.com/ARMmbed/mbed-os/](https://github.com/ARMmbed/mbed-os/).</span> | ||
|
||
## What is an exporter |
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.
Please add a question mark after "exporter" or rewrite as "What an exporter is"
docs/cont/adding_exporters.md
Outdated
|
||
<span class="notes">**Note:** All paths are relative to [https://github.com/ARMmbed/mbed-os/](https://github.com/ARMmbed/mbed-os/).</span> | ||
|
||
## What is an exporter | ||
|
||
An exporter is a python plugin to the mbed OS tools that convert a project using mbed CLI into one specialized for a particular IDE. For the best user experience, an exporter should: |
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.
Please capitalize "Python".
docs/cont/adding_exporters.md
Outdated
|
||
If you do not need any specialization of the export, then replace your | ||
exporters class in the `EXPORT_MAP` with the `GNUARMEclipse` class. For example, | ||
if KDS met all of these requirements, we could: |
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.
Please change "we" to "you" for consistent person.
docs/cont/adding_exporters.md
Outdated
- Have a single template file for each file type they produce. For example, an eclipse CDT project would have one template for `.project` files and one for `.cproject` files. | ||
- Not call mbed CLI. It is possible to export from the website, which will not include mbed CLI in the resulting zip. | ||
|
||
|
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.
Please delete the extra line.
docs/cont/adding_exporters.md
Outdated
### GNU ARM Eclipse | ||
|
||
If your IDE uses Eclipse and uses the GNU ARM Eclipse plugin, then you should | ||
specialize or alias your exporter with the generic GNU ARM Eclipse. |
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.
Note: Throughout the document, a lot of the text gets split onto separate lines. [Example: line break between "should" and "specialize"] Is this preventable?
docs/cont/adding_exporters.md
Outdated
### Make | ||
|
||
If your IDE is not Eclipse based but can still use a Makefile, then you can | ||
specialize the Makefile exporter. Specializing the Makefile is actually how we |
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.
Query: Who is "we" in this sentence? ARM mbed?
docs/cont/adding_exporters.md
Outdated
|
||
If you do not need any specialization of the export, then replace your | ||
exporters class in the `EXPORT_MAP` with the `GNUARMEclipse` class. For example, | ||
if KDS met all of these requirements, we could: |
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.
Query: When is "KDS" supposed to be capitalized, and when is it supposed to be lower case?
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.
KDS, should be capitalized when referring to the IDE, and lower case when referring to the exporter.
docs/cont/adding_exporters.md
Outdated
|
||
### GNU ARM Eclipse | ||
|
||
If your IDE uses Eclipse and uses the GNU ARM Eclipse plugin, then you should |
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.
Please delete "you should" to match the format of the paragraphs after this one.
docs/cont/adding_exporters.md
Outdated
|
||
<span class="notes">**Note:** All paths are relative to [https://github.com/ARMmbed/mbed-os/](https://github.com/ARMmbed/mbed-os/).</span> | ||
|
||
## What is an exporter | ||
|
||
An exporter is a python plugin to the mbed OS tools that convert a project using mbed CLI into one specialized for a particular IDE. For the best user experience, an exporter should: |
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.
Please delete "should", and change the mood of the bullets to reflect this. [Take > Takes, Use > Uses, Have > Has, Not call > Does not call]
55381cb
to
c43bd2a
Compare
Hi @theotherjimmy |
docs/cont/adding_exporters.md
Outdated
@@ -1,18 +1,25 @@ | |||
# Adding exporters | |||
|
|||
This is a guide for adding exporters to the mbed-os tools. It covers the structure of the export subsystem and the individual exporter. | |||
This is a guide for adding exporters to the mbed-os tools. First, this document describes what an exporter is and what rules it follows. Then, it covers the structure of the export subsystem and the individual exporter. Finally, this document gives some implementation suggestions. |
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.
mbed OS. That's one pound to the swear jar.
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.
Ah, old text. I'll update it.
docs/cont/adding_exporters.md
Outdated
|
||
<span class="notes">**Note:** All paths are relative to [https://github.com/ARMmbed/mbed-os/](https://github.com/ARMmbed/mbed-os/).</span> | ||
|
||
## What an exporter is | ||
|
||
An exporter is a Python plugin to the mbed OS tools that convert a project using mbed CLI into one specialized for a particular IDE. For the best user experience, an exporter: |
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.
On docs.mbed, I don't think the list will be displayed unless there's a blank line between it and the paragraph above it (after "an exporter:")
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.
converts
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.
Alright, I'll add that line.
No description provided.