-
Notifications
You must be signed in to change notification settings - Fork 433
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
Fix formatting inconsistencies #192
Conversation
Hey mattmcneeney! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
Should we wait for the other spec changes that are about to be accepted to rebase and merge this one? |
Yeah good idea, it would probably best to merge imminent ones and then rebase this one before getting LGTMs. I'll bump this in a day or so. |
SGTM and yeah let's wait for the other PRs to go first since it'll be rebase hell and some of these fixes are part of those PRs too. |
Had another run through this in attempt to avoid rebase hell. Let's get any imminent PRs merged so we can sort this one out! 🙏 |
spec.md
Outdated
@@ -40,7 +40,7 @@ A platform marketplace MAY expose services from one or many service brokers, and | |||
|
|||
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", | |||
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to |
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.
extra space before "MAY". should just search for double-spaces in the entire doc. :-)
| id* | string | An identifier used to correlate this service in future requests to the broker. This MUST be globally unique within a platform marketplace. Using a GUID is RECOMMENDED. | | ||
| description* | string | A short description of the service. | | ||
| tags | array-of-strings | Tags provide a flexible mechanism to expose a classification, attribute, or base technology of a service, enabling equivalent services to be swapped out without changes to dependent logic in applications, buildpacks, or other services. E.g. mysql, relational, redis, key-value, caching, messaging, amqp. | | ||
| requires | array-of-strings | A list of permissions that the user would have to give the service, if they provision it. The only permissions currently supported are <code>syslog\_drain</code>, <code>route\_forwarding</code> and <code>volume\_mount</code>. | |
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.
very happy to see these "code" blocks being replace with back-ticks!
@mattmcneeney let's do the 80 column wrap in a follow-on PR |
My expectation is this will break CF docs, as:
This may or may not still be the case. |
I have a feeling that we may run into a lot of problems in the future if we try to continue down this path of our spec being in markdown as well as an html-md-hybrid that the CF doc tooling needs. Someone once mentioned the name of the tool that CF uses but I can't remember -what is it? I'd like to explore the option of helping the CF guys out by creating a tool that will take a "normal" github md docs and twiddle it so that their tooling will work - similar to what I did in #168 (comment) . Then we could stick to just github md. |
@duglin https://github.com/pivotal-cf/bookbinder is the tool. @bentarnoff would be the person to speak to, but I don't expect it would be a small piece of work. |
Is this good for another round of LG's? |
@bentarnoff @avade I noticed this https://github.com/pivotal-cf/bookbinder#middleman-templating-helpers I wonder if we could create a helper to tweak the MD into something bookbinder would be ok with? Or, if not, what does it use to pull down the repo? If its just "git" in the path then we could wrap git with a bash script to twiddle things after the clone. |
Let's wait to hear from @bentarnoff before merging. CF docs are the only place the spec is rendered at the moment. |
I've checked out the CF docs locally and have been playing around with what we can and can't change as of today. Results as follows:
@bentarnoff LMK what you think of this list. If we could fix navigation and, if possible, change a pair of three backticks to render |
I've submitted a PR to the bookbinder repo that fixes the navigation. We can make do with the |
We've removed all HTML tags now except |
@bentarnoff We're happy with the way the docs look as long as we can merge this bookbinder PR that fixes markdown heading anchors. Let me know if you're happy to merge that (or point me towards who I have to speak to) and then we can be done here! |
Let me bring in @animatedmax, who can speak to the Per @avade's request, CF docs is now pulling from the |
The bookbinder PR appears to resolve the anchor issue. It adds an extra id to the anchors we manually add to pages, but I believe they have no appreciable impact on these existing pages. |
Great, thanks Max. I think this is now ready for a round of LGTMs then!
…On Mon, 15 May 2017 at 18:37, Max Hufnagel ***@***.***> wrote:
The bookbinder PR <pivotal-cf/bookbinder#115>
appears to resolve the anchor issue. It adds an extra id to the anchors we
manually add to pages, but I believe they have no appreciable impact on
these existing pages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#192 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG7UzOEC1kpARCyAJAUnjFg009ExP-yIks5r6I1hgaJpZM4NWXp4>
.
|
The spec had become a bit inconsistent, so this is a sweeping change to tidy it up a bit and make it pretty. Let me know what you think and LGTM if happy, thanks!