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

Add README.md code block insertion from files #32

Open
gaand opened this issue Apr 8, 2017 · 1 comment
Open

Add README.md code block insertion from files #32

gaand opened this issue Apr 8, 2017 · 1 comment

Comments

@gaand
Copy link

gaand commented Apr 8, 2017

So all code is subject to linters, etc.

@MicFin
Copy link
Contributor

MicFin commented Apr 25, 2017

As an example, the https://github.com/ga-wdi-boston/js (after 018/master is merged) talk utilizes the new add-code-block script. To include the snippets in grunt nag, it should be added to paths.json potentially as shown below.

{
  "src": {
    "all": [
      "bin/**/*.js",
      "lib/**/*.js",
      "spec/**/*.spec.js",
      "snippets/**/*.js"
    ],
    "spec": [
      "spec/**/*.spec.js"
    ],
    "lib": [
      "lib/**/*.js"
    ],
    "snippets": [
      "snippets/**/*.js"
    ]
  },

  "grunt": {
    "all": [
      "Gruntfile.js",
      "grunt/*.js"
    ]
  },

  "json": {
    "all": [
      "lib/**/*.json",
      "spec/**/*.json",
      "grunt/*.json",
      "snippets/**/*.json"
    ]
  }
}

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

No branches or pull requests

2 participants