All Projects → travelgateX → documentation-site

travelgateX / documentation-site

Licence: MIT license
This repository contains source for TravelgateX documentation. TravelgateX is a collection of GraphQL APIs for the travel trade.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
SCSS
7915 projects

Projects that are alternatives of or similar to documentation-site

Hugo Orbit Theme
Great looking resume/CV theme designed for developers.
Stars: ✭ 217 (+1176.47%)
Mutual labels:  hugo
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+1282.35%)
Mutual labels:  hugo
distillpub
Hugo Theme for Distill
Stars: ✭ 31 (+82.35%)
Mutual labels:  hugo
Hugo Theme M10c
A minimalistic (m10c) blog theme for Hugo
Stars: ✭ 223 (+1211.76%)
Mutual labels:  hugo
Atlas
The Hugo boilerplate we use for our projects.
Stars: ✭ 232 (+1264.71%)
Mutual labels:  hugo
Hugo Eureka
Eureka is a feature-rich and highly customizable Hugo theme.
Stars: ✭ 239 (+1305.88%)
Mutual labels:  hugo
Hugo Theme Codex
A minimal blog theme for Hugo 🍜
Stars: ✭ 212 (+1147.06%)
Mutual labels:  hugo
strapi-graphql-documentation
Collections of queries and mutations that hopefully help you in a Strapi project powered by GraphQL API 🚀
Stars: ✭ 45 (+164.71%)
Mutual labels:  graphql-api
Forestry.io
Forestry.io website
Stars: ✭ 233 (+1270.59%)
Mutual labels:  hugo
hugo-component-matomo
Matomo user tracking and optout scripts for Hugo
Stars: ✭ 38 (+123.53%)
Mutual labels:  hugo
Cocoa Eh Hugo Theme
A enhanced version of Cocoa. Clean, fast, and responsive theme with cool typography.
Stars: ✭ 226 (+1229.41%)
Mutual labels:  hugo
Hugo Future Imperfect Slim
Multilingual Blogging Theme for Hugo | Check the Wiki for Documentation
Stars: ✭ 233 (+1270.59%)
Mutual labels:  hugo
Gowebexamples
Go Web Examples Generator
Stars: ✭ 252 (+1382.35%)
Mutual labels:  hugo
Anatole
Anatole is a minimalist two-column hugo theme based on farbox-theme-Anatole.
Stars: ✭ 220 (+1194.12%)
Mutual labels:  hugo
hugoblog
Hugoblog is responsive, simple, and clean that would fit for your personal blog based on Hugo Theme Static Site Generator (SSG)
Stars: ✭ 48 (+182.35%)
Mutual labels:  hugo
Netlify Statuskit
Netlify StatusKit is a template to deploy your own Status pages on Netlify.
Stars: ✭ 216 (+1170.59%)
Mutual labels:  hugo
The Indie Web
A hotspot for indie creations on the web
Stars: ✭ 240 (+1311.76%)
Mutual labels:  hugo
react-apollo-form
Build React forms based on GraphQL APIs.
Stars: ✭ 195 (+1047.06%)
Mutual labels:  graphql-api
DotNetGraphQL
A sample demonstrating how to create a GraphQL Backend in .NET and consume it from a .NET mobile app created using Xamarin
Stars: ✭ 78 (+358.82%)
Mutual labels:  graphql-api
Hugo
The world’s fastest framework for building websites.
Stars: ✭ 55,899 (+328717.65%)
Mutual labels:  hugo

TravelgateX Documentation

This repository contains source for TravelgateX documentation. TravelgateX is a collection of GraphQL APIs for the travel trade.

Master branch is published to https://docs.travelgatex.com

Contributing

  1. Fork and clone the repository
  2. Create a new branch: git checkout -b feature/my-new-feature-name
  3. Make your change
  4. Push to your fork and submit a pull request
  5. Pat your self on the back and wait for your pull request to be reviewed and merged.

Here are a few things you can do that will increase the likelihood of your pull request being accepted:

  • Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
  • Write a good commit message.
  • In your pull request description, provide as much detail as possible. This context helps the reviewer to understand the motivation for and impact of the change.

Report an issue

Installing

  • Install Hugo version 0.54
  • Clone the repo:

git clone [email protected]:travelgateX/documentation-site.git

  • Go into the repository folder

cd documentation-site

  • Init the submodule

git submodule update --init

  • Edit the markdown files in the content directory
  • Start the local webserver:

hugo server -D

  • View your changes locally at http://localhost:1313/

Node Instalation

choco install hugo --version 0.54

  • Clone the repo:

git clone [email protected]:travelgateX/documentation-site.git

  • Go into the repository folder

cd documentation-site

  • Run node

npm run up

Deployment

The website is hosted in Github Pages. Hugo generates the static HTML files and in order to deploy we need push the changes to the travelgatex.github.io repository.

There's a script that does this automatically:

./deploy.sh

Common Pitfalls

Cannot push submodule

Sometimes we cannot push the submodule to github. In order to fix this issue you need to change to the public directory and overwrite the local changes with the uptream version:

cd public/
git reset --hard origin/master
git pull origin master
cd ..
./deploy.sh

Submodule not in master branch

Sometimes the submodule stats checkout in a specific commit. In order to fix it, just change to that directory and checkout master

cd public/
git checkout master
git reset --hard origin/master
git pull origin master
cd ..
./deploy.sh

Build documentation reference

cd script
npm install
npm start
cd ..

Creating GitHub gists

Various examples of GraphQL calls, XML configurations and other code snippets can be found throughout our documentation, to help TravelgateX users better understand how our services work. If you think you can provide some useful code example, feel free to create a public gist on GitHub and contact us. You can learn to make your own gists here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].