Comments (4)
hm that's probably going to be a significant update to the hacky way we're doing docs. @m-ux have you done any more investigation into documentation solutions?
from js-buy-sdk.
only really know about jsdoc at the moment, but jsdoc generates to a subfolder based on the version number specified in your package.json
When you rev the version number & regenerate the docs, it will go in a new folder.
One thing you can do (lodash docs used to do this, but are slightly different now) is have a dropdown to select version numbers that link to the appropriate code.
There's also the version
, since
and deprecated
properties, which could theoretically be used to more dynamically showcase stuff... but that could be a lot more complicated.
We've got a simple implementation of jsdoc outputting to raw json data which we'd like to use at some point in the future for a more robust solution - you'd likely need to approach the problem that way to take advantage of the version/since/deprecated properties.
from js-buy-sdk.
do it, I'll help
from js-buy-sdk.
You can now generate docs for specific versions. It's documented here:
https://github.com/Shopify/js-buy-sdk/blob/master/CONTRIBUTING.md#documentation
from js-buy-sdk.
Related Issues (20)
- The types @types/shopify-buy HOT 2
- Several fields on the Storefront API were marked as deprecated HOT 3
- Fetch is not defined in production - Netlify HOT 1
- Discussions Partners and Developers Events Groups Learn Notifications Messages Alocard Alocard Shopify APIs and SDKs Development discussions around Shopify APIs Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more! Shopify Community Partners and Developers Shopify APIs and SDKs Make a Request from a Public Endpoint to a Non-Public Endpoint Inside an App Make a Request from a Public Endpoint to a Non-Public Endpoint Inside an App HOT 1
- Adding a discount code to an empty card doesn't work
- `barcode` field is missing for product variants
- Langauge for checkout HOT 7
- Shopify-buy unable to retrieve several parameteres HOT 3
- Collection not returning all products HOT 1
- Set country context when recalling checkout object HOT 1
- Error: Field 'presentmentPrices' doesn't exist on type 'ProductVariant' HOT 11
- No field of name "pageInfo" found on type "Metafield" in schema. No field of name "tags" found on type "Product" in schema HOT 2
- Question: Is it possible to set the channel name for an order so that it shows up in Shopify in the order list?
- Update needed : fetchByHandle is deprecated for product as well as collection
- Remove or disable email input when email is passed in the checkout.create method HOT 1
- Field must have selections field 'price' returns MoneyV2 but has no selections
- Bundles through JS Buy SDK? HOT 4
- Fetching products returns outdated data depending on API Version HOT 1
- Migration to Storefront Cart API HOT 3
- Amount for product variant is incorrectly typed, expected number, got string.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-buy-sdk.