Skip to content
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

docs: update Best Practices for DP3 release #1433

Merged
merged 1 commit into from
Jun 15, 2018

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Jun 14, 2018

  • Remove the following pages from the sidebar

    • Defining the API using design-first approach
    • Testing the API
    • Implementing Features
    • Preparing the API for consumption
  • Update the main Best Practices page to reflect the new content under
    this section

  • For pages removed from the sidebar, rename the files to have a
    .shelved.md suffix so we know in future the page was shelved and
    it's not having it in the sidebar is not an oversight.

  • Remove any references to shelved pages from docs and READMEs.

Close #1094.

This pull request depends on loopbackio/loopback.io#704 which is needed to fix update scripts used by loopback.io website.

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

Copy link
Contributor

@shimks shimks left a comment

Choose a reason for hiding this comment

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

LGTM (I haven't actually checked if there were any links you may have missed, but I trust you 😆). I wonder if we should take the opportunity with this PR to identify any pages that aren't on the sidebar and rename them to .shelved.md as well


Our best practice follows an "API first" and test-driven development approach:
1. [**Defining the API using code-first approach**](./Defining-the-API-using-code-first-approach.md):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should change the listing from numberings to bullets. The content here has no logical flow from one another and I think it'd be misleading to number these.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good suggestion, applied.

@bajtos bajtos force-pushed the docs/best-practices-cleanup branch 2 times, most recently from 5fa4b69 to 0270ef5 Compare June 15, 2018 06:26
- Remove the following pages from the sidebar
  - `Defining the API using design-first approach`
  - `Testing the API`
  - `Implementing Features`
  - `Preparing the API for consumption`

- Update the main Best Practices page to reflect the new content under
  this section

- For pages removed from the sidebar, rename the files to have a
  `.shelved.md` suffix so we know in future the page was shelved and
  it's not having it in the sidebar is not an oversight.

- Remove any references to shelved pages from docs and READMEs.
@bajtos bajtos force-pushed the docs/best-practices-cleanup branch from 0270ef5 to 30cd908 Compare June 15, 2018 07:55
@bajtos bajtos merged commit d1e3371 into master Jun 15, 2018
@bajtos bajtos deleted the docs/best-practices-cleanup branch June 15, 2018 13:05
@bajtos bajtos added this to the June Milestone milestone Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up "Best Practices with LoopBack 4"
2 participants