{"id":18386245,"url":"https://github.com/bethropolis/gena","last_synced_at":"2025-04-07T00:33:01.660Z","repository":{"id":185010172,"uuid":"672806789","full_name":"bethropolis/gena","owner":"bethropolis","description":"an astro template for writing docs fast using markdown.","archived":false,"fork":false,"pushed_at":"2024-09-12T05:37:35.000Z","size":1139,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-09-12T15:08:10.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bethropolis.github.io/gena/","language":"Astro","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/bethropolis.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,"publiccode":null,"codemeta":null}},"created_at":"2023-07-31T07:59:16.000Z","updated_at":"2024-09-12T05:37:11.000Z","dependencies_parsed_at":"2024-09-12T14:42:48.162Z","dependency_job_id":"8d336749-66fe-4e85-9428-c31b2a2fcfd9","html_url":"https://github.com/bethropolis/gena","commit_stats":null,"previous_names":["bethropolis/gena"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fgena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fgena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fgena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fgena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bethropolis","download_url":"https://codeload.github.com/bethropolis/gena/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223267710,"owners_count":17116694,"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","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":"2024-11-06T01:21:09.151Z","updated_at":"2024-11-06T01:21:09.813Z","avatar_url":"https://github.com/bethropolis.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Alt text](public/cover.svg)\n\n# Gena\n[![Deploy Astro site to Pages](https://github.com/bethropolis/gena/actions/workflows/astro.yml/badge.svg)](https://github.com/bethropolis/gena/actions/workflows/astro.yml)\n\nAn astro ready made template for writing docs fast using markdown.\n\n# Installation\n\n### cloning repository\nyou'll have to first clone the repository.\n\n```\ngit clone https://github.com/bethropolis/gena.git\n```\n\u003cbr/\u003e\n\n### installing \nyou'll then install all the projects dependancies.\u003cbr/\u003e\nyou can use npm, yarn pnpm e.t.c\n\n```\nnpm install\n```\n\u003cbr/\u003e\n\n### developing\nyou'll have to run the development server for easy development.\n\n```\nnpm run dev\n```\n\n### configuring the sidebar\n\nthe left sidebar is configuration is on the `src/content.ts` file. \u003cbr/\u003e\nedit the file in order to change the content of the sidebar.\n\n```ts\n// src/content.ts\nexport const sidebarStructure = [\n  {\n    label: \"Getting Started\",\n    children: [\n      {\n        label: \"introduction\",\n        path: \"./docs/introduction\",\n      },\n      {\n        label: \"installation\",\n        path: \"./docs/installation\",\n      },\n    ],\n  }\n];\n```\n\u003cbr/\u003e\nconfiguring the right sidebar happens in the markdown/mdx file in the `content` folder.\n\nexample `content/docs/introduction.mdx`.\n\n\n```m\n---\ntitle: \"Introduction\"\noutline: [\"getting-started\", \"installation\"]\n---\n\nrest of the markdown...\n```\n\u003cbr/\u003e\n\n### adding content\n\nTo add more content to the template, just add more `markdown\\mdx` files to the `content/docs` directory.\u003cbr/\u003e \nThe routing is done automatically by\nAstro, [read about router here](https://docs.astro.build/core-concepts/routing/).\n\u003cbr/\u003e\n\n\n### deployment and build\nstatic files are generated hence your docs can be deployed anywhere you want, [read more here](https://docs.astro.build/guides/deploy/).\n\nto build run:\n```\nnpm run build\n```\n\u003cbr/\u003e\n\n## License\n MIT license (do what you want)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethropolis%2Fgena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbethropolis%2Fgena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethropolis%2Fgena/lists"}