{"id":13989673,"url":"https://github.com/travelgateX/documentation-site","last_synced_at":"2025-07-22T11:31:10.648Z","repository":{"id":38356004,"uuid":"109188328","full_name":"travelgateX/documentation-site","owner":"travelgateX","description":"This repository contains source for TravelgateX documentation. TravelgateX is a collection of GraphQL APIs for the travel trade.","archived":true,"fork":false,"pushed_at":"2023-12-18T11:27:51.000Z","size":53947,"stargazers_count":17,"open_issues_count":0,"forks_count":88,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-11-29T08:39:25.864Z","etag":null,"topics":["documentation","graphql-api","hugo","travel-trade","travelgatex-documentation"],"latest_commit_sha":null,"homepage":"https://docs.travelgatex.com","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/travelgateX.png","metadata":{"files":{"readme":"README.md","changelog":"changes-src/hotelx/deleted.json","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-01T21:58:49.000Z","updated_at":"2024-01-31T07:20:08.000Z","dependencies_parsed_at":"2023-02-14T19:16:21.976Z","dependency_job_id":"50bd4591-f210-4a48-aff8-e9834f6e762c","html_url":"https://github.com/travelgateX/documentation-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/travelgateX/documentation-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travelgateX%2Fdocumentation-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travelgateX%2Fdocumentation-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travelgateX%2Fdocumentation-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travelgateX%2Fdocumentation-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/travelgateX","download_url":"https://codeload.github.com/travelgateX/documentation-site/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travelgateX%2Fdocumentation-site/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266483576,"owners_count":23936371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation","graphql-api","hugo","travel-trade","travelgatex-documentation"],"created_at":"2024-08-09T13:01:56.473Z","updated_at":"2025-07-22T11:31:10.433Z","avatar_url":"https://github.com/travelgateX.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"[fork]: https://github.com/travelgateX/documentation-site/fork\n[pr]: https://github.com/travelgateX/documentation-site/compare\n[code-of-conduct]: CODE_OF_CONDUCT.md\n\n# TravelgateX Documentation\n\nThis repository contains source for TravelgateX documentation.\nTravelgateX is a collection of GraphQL APIs for the travel trade.\n\nMaster branch is published to https://docs.travelgatex.com\n\n## Contributing\n1. [Fork][fork] and clone the repository\n2. Create a new branch: `git checkout -b feature/my-new-feature-name`\n3. Make your change\n4. Push to your fork and [submit a pull request][pr]\n5. Pat your self on the back and wait for your pull request to be reviewed and merged.\n\nHere are a few things you can do that will increase the likelihood of your pull request being accepted:\n\n- 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.\n- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).\n- 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.\n\n## Report an issue\n- Create an issue in our [Issue Tracker](https://github.com/travelgateX/Issue-tracker)\n\n## Installing\n\n- Install [Hugo](https://gohugo.io/) version 0.54\n- Clone the repo:\n\n`git clone git@github.com:travelgateX/documentation-site.git`\n\n- Go into the repository folder\n\n`cd documentation-site`\n\n- Init the submodule\n\n`git submodule update --init`\n\n- Edit the markdown files in the `content` directory\n- Start the local webserver:\n\n`hugo server -D`\n\n- View your changes locally at `http://localhost:1313/`\n\n## Node Instalation\n\n- Install Node js: https://nodejs.org/es/download/\n\n- Install windows package manager chocolatey: https://chocolatey.org/\n\n- Install [Hugo](https://gohugo.io/) version 0.54\n\n`choco install hugo --version 0.54`\n \n- Clone the repo:\n\n`git clone git@github.com:travelgateX/documentation-site.git`\n\n- Go into the repository folder\n\n`cd documentation-site`\n\n- Run node \n\n`npm run up`\n\n## Deployment\n\nThe website is hosted in [Github Pages](https://pages.github.com/).\nHugo generates the static HTML files and in order to deploy we need push the changes to the [travelgatex.github.io](https://github.com/travelgateX/travelgatex.github.io) repository.\n\nThere's a script that does this automatically:\n\n`./deploy.sh`\n\n## Common Pitfalls\n\n### Cannot push submodule\n\nSometimes 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:\n\n```bash\ncd public/\ngit reset --hard origin/master\ngit pull origin master\ncd ..\n./deploy.sh\n```\n\n### Submodule not in master branch\n\nSometimes the submodule stats checkout in a specific commit. In order to fix it, just change to that directory and checkout master\n\n```bash\ncd public/\ngit checkout master\ngit reset --hard origin/master\ngit pull origin master\ncd ..\n./deploy.sh\n```\n\n## Build documentation reference\n\n```bash\ncd script\nnpm install\nnpm start\ncd ..\n```\n\n### Creating GitHub gists\n\nVarious 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](https://help.github.com/en/github/writing-on-github/creating-gists). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtravelgateX%2Fdocumentation-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FtravelgateX%2Fdocumentation-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtravelgateX%2Fdocumentation-site/lists"}