├── .vscode └── settings.json ├── .eslintignore ├── __mocks__ ├── file-mock.js └── gatsby.js ├── loadershim.js ├── .prettierignore ├── vale-styles ├── Postman │ ├── ignore.txt │ ├── Spelling.yml │ ├── TopicLength.yml │ ├── Uncertainty.yml │ ├── TooManyHeadings.yml │ ├── UX-interaction.yml │ ├── Readability.yml │ ├── We.yml │ ├── Vocab.yml │ ├── Avoid.yml │ ├── EN-US.yml │ ├── Inclusive.yml │ ├── Terms.yml │ ├── BrandedTerm.yml │ ├── ComplexWords.yml │ └── TooWordy.yml └── Vocab │ └── LC │ └── accept.txt ├── src ├── images │ ├── favicon.ico │ ├── favicon.png │ ├── gatsby-icon.png │ └── logo-flip-home.svg ├── components │ ├── LeftNav │ │ ├── __snapshots__ │ │ │ └── LeftNav.spec.jsx.snap │ │ ├── LeftNav.spec.jsx │ │ └── caret.svg │ ├── Footer │ │ └── Footer.spec.jsx │ ├── Shared │ │ ├── DynamicLink.jsx │ │ ├── DynamicLink.spec.jsx │ │ ├── Button.jsx │ │ └── EditDoc.jsx │ ├── modules │ │ ├── handlePagination.jsx │ │ ├── Modal.js │ │ ├── BreadCrumbsLinks.jsx │ │ └── PreviousAndNextLinks.jsx │ ├── MarketingPages │ │ ├── ReflowImgWrapper.jsx │ │ └── Cards.jsx │ ├── ContextualLinks │ │ ├── __snapshots__ │ │ │ └── ContextualLinks.spec.jsx.snap │ │ ├── ContextualLinks.spec.jsx │ │ └── ContextualLinks.jsx │ ├── layout.jsx │ └── seo.jsx ├── utils │ ├── typography.js │ └── removePrefixFromCurrentPath.js └── pages │ ├── tooling │ └── collection-sdk │ │ └── installation.md │ ├── 404.jsx │ ├── reference │ ├── header-list.md │ ├── cookie-list.md │ ├── certificate-list.md │ ├── protocol-profile-behavior.md │ ├── event-list.md │ ├── variable-list.md │ ├── auth-attribute.md │ ├── header.md │ ├── event.md │ ├── description.md │ ├── proxy.md │ ├── script.md │ ├── certificate.md │ ├── info.md │ ├── version.md │ ├── item.md │ ├── collection.md │ ├── item-group.md │ ├── variable.md │ ├── cookie.md │ └── response.md │ ├── advanced-concepts │ ├── extending-collections.md │ ├── events.md │ └── documentation.md │ └── getting-started │ ├── defining-a-simple-api.md │ ├── overview.md │ └── structure-of-a-collection.md ├── static ├── images │ ├── auth@2x.jpg │ ├── item@2x.jpg │ ├── url@2x.jpg │ ├── cookie@2x.jpg │ ├── event@2x.jpg │ ├── header@2x.jpg │ ├── script@2x.jpg │ ├── request@2x.jpg │ ├── response@2x.jpg │ ├── variable@2x.jpg │ ├── version@2x.jpg │ ├── certificate@2x.jpg │ ├── description@2x.jpg │ ├── information@2x.jpg │ ├── item-group@2x.jpg │ ├── auth-attribute@2x.jpg │ ├── proxy-config@2x.jpg │ ├── collection-format overview@2x.jpg │ └── collection-format-overview-plain@2x.jpg └── mock │ ├── show-mock.drawio │ ├── create-mock.drawio │ └── use-mock.drawio ├── styles ├── fonts │ ├── pm-icons.eot │ ├── pm-icons.ttf │ └── pm-icons.woff ├── styles.scss ├── config │ ├── _pm-icons.css │ ├── normalize.css │ └── print.css └── theme.jsx ├── .prettierrc ├── jest-preprocess.js ├── CODE_OF_CONDUCT.md ├── .markdownlint.yml ├── redirects.json ├── gatsby-ssr.js ├── gatsby-browser.js ├── jest.config.js ├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── documentation-request.md │ └── bug_report.yml ├── workflows │ ├── manual-rerun.yml │ ├── ci.yml │ ├── prod-deploy.yml │ └── beta-deploy.yml └── stale.yml ├── .eslintrc.js ├── _vale.ini ├── README.md ├── .gitignore ├── bff.js ├── gatsby-config.js └── package.json /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | public/* 3 | -------------------------------------------------------------------------------- /__mocks__/file-mock.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test-file-stub'; 2 | -------------------------------------------------------------------------------- /loadershim.js: -------------------------------------------------------------------------------- 1 | global.___loader = { 2 | enqueue: jest.fn(), 3 | }; 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .cache 2 | package.json 3 | package-lock.json 4 | public 5 | -------------------------------------------------------------------------------- /vale-styles/Postman/ignore.txt: -------------------------------------------------------------------------------- 1 | clickjacking 2 | untrusted 3 | ruleset 4 | rulesets 5 | -------------------------------------------------------------------------------- /src/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/src/images/favicon.ico -------------------------------------------------------------------------------- /src/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/src/images/favicon.png -------------------------------------------------------------------------------- /static/images/auth@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/auth@2x.jpg -------------------------------------------------------------------------------- /static/images/item@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/item@2x.jpg -------------------------------------------------------------------------------- /static/images/url@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/url@2x.jpg -------------------------------------------------------------------------------- /styles/fonts/pm-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/styles/fonts/pm-icons.eot -------------------------------------------------------------------------------- /styles/fonts/pm-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/styles/fonts/pm-icons.ttf -------------------------------------------------------------------------------- /src/images/gatsby-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/src/images/gatsby-icon.png -------------------------------------------------------------------------------- /static/images/cookie@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/cookie@2x.jpg -------------------------------------------------------------------------------- /static/images/event@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/event@2x.jpg -------------------------------------------------------------------------------- /static/images/header@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/header@2x.jpg -------------------------------------------------------------------------------- /static/images/script@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/script@2x.jpg -------------------------------------------------------------------------------- /styles/fonts/pm-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/styles/fonts/pm-icons.woff -------------------------------------------------------------------------------- /static/images/request@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/request@2x.jpg -------------------------------------------------------------------------------- /static/images/response@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/response@2x.jpg -------------------------------------------------------------------------------- /static/images/variable@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/variable@2x.jpg -------------------------------------------------------------------------------- /static/images/version@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/version@2x.jpg -------------------------------------------------------------------------------- /static/images/certificate@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/certificate@2x.jpg -------------------------------------------------------------------------------- /static/images/description@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/description@2x.jpg -------------------------------------------------------------------------------- /static/images/information@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/information@2x.jpg -------------------------------------------------------------------------------- /static/images/item-group@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/item-group@2x.jpg -------------------------------------------------------------------------------- /static/images/auth-attribute@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/auth-attribute@2x.jpg -------------------------------------------------------------------------------- /static/images/proxy-config@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/proxy-config@2x.jpg -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "endOfLine": "lf", 3 | "semi": false, 4 | "singleQuote": false, 5 | "tabWidth": 2, 6 | "trailingComma": "es5" 7 | } 8 | -------------------------------------------------------------------------------- /static/images/collection-format overview@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/collection-format overview@2x.jpg -------------------------------------------------------------------------------- /jest-preprocess.js: -------------------------------------------------------------------------------- 1 | const babelOptions = { 2 | presets: ["babel-preset-gatsby"], 3 | } 4 | 5 | module.exports = require("babel-jest").createTransformer(babelOptions); 6 | -------------------------------------------------------------------------------- /src/components/LeftNav/__snapshots__/LeftNav.spec.jsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`ContextualLinks renders correctly 1`] = `null`; 4 | -------------------------------------------------------------------------------- /vale-styles/Postman/Spelling.yml: -------------------------------------------------------------------------------- 1 | extends: spelling 2 | message: "Is the word '%s' a typo?" 3 | ignorecase: true 4 | level: error 5 | ignore: vale-styles/Postman/ignore.txt 6 | -------------------------------------------------------------------------------- /static/images/collection-format-overview-plain@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postmanlabs/collection-format-docs/develop/static/images/collection-format-overview-plain@2x.jpg -------------------------------------------------------------------------------- /vale-styles/Postman/TopicLength.yml: -------------------------------------------------------------------------------- 1 | extends: metric 2 | message: "Does this topic need to be split? It's %s words long." 3 | level: warning 4 | 5 | formula: | 6 | words 7 | 8 | condition: "> 750" 9 | -------------------------------------------------------------------------------- /vale-styles/Postman/Uncertainty.yml: -------------------------------------------------------------------------------- 1 | extends: substitution 2 | message: "Use '%s' instead of '%s'." 3 | level: error 4 | ignorecase: true 5 | action: 6 | name: replace 7 | swap: 8 | should: will 9 | -------------------------------------------------------------------------------- /vale-styles/Postman/TooManyHeadings.yml: -------------------------------------------------------------------------------- 1 | extends: metric 2 | message: "This topic has %s H2s in it. Does it need to be split up?" 3 | level: warning 4 | 5 | formula: heading_h2 6 | 7 | condition: "> 6" 8 | -------------------------------------------------------------------------------- /vale-styles/Postman/UX-interaction.yml: -------------------------------------------------------------------------------- 1 | extends: substitution 2 | message: "Use '%s' instead of '%s'." 3 | level: error 4 | ignorecase: true 5 | action: 6 | name: replace 7 | swap: 8 | hit: select 9 | 'click ?on': select 10 | 'clicking on': selecting 11 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor code of conduct 2 | 3 | As contributors and maintainers of the Collection Format Docs project, we pledge to respect everyone who contributes. 4 | 5 | Please read our [Code of Conduct](https://www.postman.com/code-of-conduct "Postman's Code of Conduct") that covers all Postman communities. 6 | -------------------------------------------------------------------------------- /src/utils/typography.js: -------------------------------------------------------------------------------- 1 | import Typography from 'typography'; 2 | 3 | const typography = new Typography({ 4 | // baseFontSize: '18px', 5 | // baseLineHeight: 1.666, 6 | headerFontFamily: [ 7 | 'IBM Plex Mono', 8 | ], 9 | bodyFontFamily: [ 10 | 'Inter', 11 | ], 12 | }); 13 | 14 | export default typography; 15 | -------------------------------------------------------------------------------- /vale-styles/Postman/Readability.yml: -------------------------------------------------------------------------------- 1 | extends: metric 2 | message: "Try to keep the Flesch-Kincaid grade level (%s) below 10." 3 | link: https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests 4 | level: warning 5 | 6 | formula: | 7 | (0.39 * (words / sentences)) + (11.8 * (syllables / words)) - 15.59 8 | 9 | condition: "> 9" -------------------------------------------------------------------------------- /vale-styles/Postman/We.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Try to avoid using first-person plural like '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/grammar/person#avoid-first-person-plural 4 | level: warning 5 | ignorecase: true 6 | tokens: 7 | - we 8 | - we'(?:ve|re) 9 | - ours? 10 | - 'us \w+' 11 | - let's 12 | exceptions: 13 | - US East 14 | - US English 15 | -------------------------------------------------------------------------------- /src/components/Footer/Footer.spec.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import renderer from 'react-test-renderer'; 3 | import Footer from './Footer'; 4 | import Theme from '../../../styles/theme.jsx' 5 | 6 | describe('Footer', () => { 7 | it('renders correctly', () => { 8 | const tree = renderer 9 | .create(