{"id":50061797,"url":"https://github.com/thesis-php/thesis-php.github.io","last_synced_at":"2026-05-21T19:45:13.017Z","repository":{"id":342163205,"uuid":"1173014159","full_name":"thesis-php/thesis-php.github.io","owner":"thesis-php","description":"https://thesis-php.github.io","archived":false,"fork":false,"pushed_at":"2026-04-13T18:54:18.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T20:27:37.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thesis-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://www.tinkoff.ru/cf/5MqZQas2dk7"]}},"created_at":"2026-03-04T23:26:44.000Z","updated_at":"2026-04-13T18:54:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thesis-php/thesis-php.github.io","commit_stats":null,"previous_names":["thesis-php/thesis-php.github.io"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thesis-php/thesis-php.github.io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesis-php%2Fthesis-php.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesis-php%2Fthesis-php.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesis-php%2Fthesis-php.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesis-php%2Fthesis-php.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesis-php","download_url":"https://codeload.github.com/thesis-php/thesis-php.github.io/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesis-php%2Fthesis-php.github.io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33312239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"last_error":"SSL_read: 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-21T19:45:11.615Z","updated_at":"2026-05-21T19:45:13.010Z","avatar_url":"https://github.com/thesis-php.png","language":"JavaScript","funding_links":["https://www.tinkoff.ru/cf/5MqZQas2dk7"],"categories":[],"sub_categories":[],"readme":"# [Thesis Website](https://thesis-php.github.io)\n\nCentral documentation website for the `thesis-php` organization, powered by VitePress.\n\n## Requirements\n\n- Node.js 20+\n- npm\n- git\n\n## Install\n\n```bash\nnpm ci\n```\n\n## Commands\n\n- `npm run docs:dev`  \n  Start local VitePress dev server.\n\n- `npm run docs:sync`  \n  Sync package docs from GitHub repositories into local `drivers/` and `low-level/`.\n\n- `npm run docs:build`  \n  Build static site output.\n\n- `npm run docs:preview`  \n  Preview built static site locally.\n\n## Content Layout\n\n- `index.md` - home page\n- `drivers/` - synced package docs for driver packages\n- `low-level/` - synced package docs for low-level packages\n- `public/` - static assets\n- `.vitepress/` - VitePress config and theme files\n\n## Package Source of Truth\n\nPackage lists are declared in:\n\n- `packages.mjs`\n\nEach section (`drivers`, `low-level`) contains package objects:\n\n```js\n{ name: 'amqp', title: 'Amqp' }\n```\n\n- `name` is used for repository sync and URL path.\n- `title` is used for sidebar labels.\n\nOrder in `packages.mjs` is preserved in generated navigation/sidebar.\n\n## How Sync Works\n\n`npm run docs:sync` executes `scripts/sync.mjs`.\n\nFor every package in every section:\n\n1. Clone `https://github.com/thesis-php/\u003cpackage\u003e.git` (shallow clone).\n2. Target output directory is:\n   - `drivers/\u003cpackage\u003e/` for `drivers`\n   - `low-level/\u003cpackage\u003e/` for `low-level`\n3. If repository has `docs/`, copy `docs/` into target directory.\n4. If `docs/` does not exist, fallback to `README.md` as `index.md`.\n5. Post-process markdown links:\n   - Keep local links if copied target exists.\n   - If local target is not copied but exists in source repo, rewrite to absolute GitHub URL (`blob`/`tree`) for the repository default branch.\n\nThis keeps builds clean while preserving useful links to examples/licenses in source repos.\n\n## Notes\n\n- Synced package folders are git-ignored by default:\n  - `drivers/*/`\n  - `low-level/*/`\n- `.gitignore` keeps root placeholders (like `.gitignore` files inside section folders) tracked.\n\n## Deployment Updates\n\n- Documentation is rebuilt and deployed automatically once per day (GitHub Actions schedule).\n- You can also [trigger deployment manually](https://github.com/thesis-php/thesis-php.github.io/actions/workflows/deploy.yml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesis-php%2Fthesis-php.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesis-php%2Fthesis-php.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesis-php%2Fthesis-php.github.io/lists"}