Source Repository for graphql.org
May 24, 2021 Β· View on GitHub
This repository contains the source code of https://graphql.org website.
Contributing
Organization gh-pages deploy the master branch, so active development occurs
on this source branch.
Making changes
The first time, get all the dependencies loaded via
$ npm install or $ yarn install
Then, run the server via
$ npm start or $ yarn start
Open http://localhost:8000 to view it in the browser. Anytime you make some changes, refresh the page to see the updates.
Folder structure
-
staticfolder contains the files that will be copied directly topublicfolder which will contain the output files to be served by a static HTTP server. -
srcfolder contains markdown and TypeScript/JavaScript files used to generate the website; -
assetsfolder containslessfiles and those files contain stylesheets
-
componentsandContainersfolders contains React components that are used in layouts and pages
-
contentfolder contains markdown files for the content of pages
-
templatescontains the layout templates
-
utilscontains helper functions
Publish the Website
Once pushed to the zh-Hans branch, CI will publish to http://graphql.cn/
Contributors
Thanks goes to these wonderful people (emoji key):
ζ Ήε·δΈ π π | Jonir Rings π π π | lin onetwo π π | Tina92 π π | hikerpig π | Xat_MassacrE π | linpu.li π π |
|---|---|---|---|---|---|---|
ι«θ±ε₯ π π π | ε€§ζΏζ π | Joursion π | θ‘ζ π |
This project follows the all-contributors specification. Contributions of any kind welcome!