{"id":49642756,"url":"https://github.com/two02/vimzy-docs","last_synced_at":"2026-05-05T20:04:32.402Z","repository":{"id":228520703,"uuid":"774207646","full_name":"two02/vimzy-docs","owner":"two02","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-19T10:16:29.000Z","size":2127,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-19T12:09:13.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://two02.github.io/vimzy-docs/","language":"HTML","has_issues":true,"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/two02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-19T06:13:18.000Z","updated_at":"2024-04-23T11:53:01.591Z","dependencies_parsed_at":"2024-03-19T08:31:47.698Z","dependency_job_id":"5b477cb7-4353-497b-ad97-3b295d139dfe","html_url":"https://github.com/two02/vimzy-docs","commit_stats":null,"previous_names":["two02/vimzy-docs"],"tags_count":0,"template":false,"template_full_name":"peter-evans/swagger-github-pages","purl":"pkg:github/two02/vimzy-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two02%2Fvimzy-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two02%2Fvimzy-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two02%2Fvimzy-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two02%2Fvimzy-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/two02","download_url":"https://codeload.github.com/two02/vimzy-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/two02%2Fvimzy-docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32665675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-05-05T20:04:30.948Z","updated_at":"2026-05-05T20:04:32.395Z","avatar_url":"https://github.com/two02.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to host Swagger API documentation with GitHub Pages\n[\u003cimg alt=\"The blog of Peter Evans: How to Host Swagger Documentation With Github Pages\" title=\"View blog post\" src=\"https://peterevans.dev/img/blog-published-badge.svg\"\u003e](https://peterevans.dev/posts/how-to-host-swagger-docs-with-github-pages/)\n\nThis repository is a template for using the [Swagger UI](https://github.com/swagger-api/swagger-ui) to dynamically generate beautiful documentation for your API and host it for free with GitHub Pages.\n\nThe template will periodically auto-update the Swagger UI dependency and create a pull request. See the [GitHub Actions workflow here](.github/workflows/update-swagger.yml).\n\nThe example API specification used by this repository can be seen hosted at [https://peter-evans.github.io/swagger-github-pages](https://peter-evans.github.io/swagger-github-pages/).\n\n## Steps to use this template\n\n1. Click the `Use this template` button above to create a new repository from this template.\n\n2. Go to the settings for your repository at `https://github.com/{github-username}/{repository-name}/settings` and enable GitHub Pages.\n\n    ![Headers](/screenshots/swagger-github-pages.png?raw=true)\n    \n3. Browse to the Swagger documentation at `https://{github-username}.github.io/{repository-name}/`.\n\n\n## Steps to manually configure in your own repository\n\n1. Download the latest stable release of the Swagger UI [here](https://github.com/swagger-api/swagger-ui/releases).\n\n2. Extract the contents and copy the \"dist\" directory to the root of your repository.\n\n3. Move the file \"index.html\" from the directory \"dist\" to the root of your repository.\n    ```\n    mv dist/index.html .\n    ```\n    \n4. Copy the YAML specification file for your API to the root of your repository.\n\n5. Edit [dist/swagger-initializer.js](dist/swagger-initializer.js) and change the `url` property to reference your local YAML file. \n    ```javascript\n        window.ui = SwaggerUIBundle({\n            url: \"swagger.yaml\",\n        ...\n    ```\n    Then fix any references to files in the \"dist\" directory.\n    ```html\n    ...\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"dist/swagger-ui.css\" \u003e\n    \u003clink rel=\"icon\" type=\"image/png\" href=\"dist/favicon-32x32.png\" sizes=\"32x32\" /\u003e\n    \u003clink rel=\"icon\" type=\"image/png\" href=\"dist/favicon-16x16.png\" sizes=\"16x16\" /\u003e    \n    ...\n    \u003cscript src=\"dist/swagger-ui-bundle.js\"\u003e \u003c/script\u003e\n    \u003cscript src=\"dist/swagger-ui-standalone-preset.js\"\u003e \u003c/script\u003e    \n    ...\n    ```\n    \n6. Go to the settings for your repository at `https://github.com/{github-username}/{repository-name}/settings` and enable GitHub Pages.\n\n    ![Headers](/screenshots/swagger-github-pages.png?raw=true)\n    \n7. Browse to the Swagger documentation at `https://{github-username}.github.io/{repository-name}/`.\n\n   The example API specification used by this repository can be seen hosted at [https://peter-evans.github.io/swagger-github-pages](https://peter-evans.github.io/swagger-github-pages/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwo02%2Fvimzy-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwo02%2Fvimzy-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwo02%2Fvimzy-docs/lists"}