{"id":13905426,"url":"https://github.com/metafizzy/zdog-docs","last_synced_at":"2025-04-22T17:04:11.441Z","repository":{"id":55941455,"uuid":"175289289","full_name":"metafizzy/zdog-docs","owner":"metafizzy","description":"Documentation site for Zdog","archived":false,"fork":false,"pushed_at":"2023-07-11T23:21:19.000Z","size":331,"stargazers_count":19,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:01:52.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Handlebars","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/metafizzy.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}},"created_at":"2019-03-12T20:13:03.000Z","updated_at":"2024-06-08T23:33:48.000Z","dependencies_parsed_at":"2023-01-23T08:46:16.462Z","dependency_job_id":null,"html_url":"https://github.com/metafizzy/zdog-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Fzdog-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Fzdog-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Fzdog-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Fzdog-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metafizzy","download_url":"https://codeload.github.com/metafizzy/zdog-docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285645,"owners_count":21405296,"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-08-06T23:01:15.575Z","updated_at":"2025-04-22T17:04:11.415Z","avatar_url":"https://github.com/metafizzy.png","language":"Handlebars","funding_links":[],"categories":["Handlebars"],"sub_categories":[],"readme":"# Zdog docs\n\nDocumentation site for [Zdog](https://github.com/metafizzy/zdog) - Flat, round, designer-friendly pseudo 3D engine\n\n[zzz.dog](https://zzz.dog)\n\n## Install\n\nInstall dependencies with npm.\n\n``` bash\nnpm install\n```\n\n## Tasks\n\n+ `gulp` - build the production site, concatenate CSS and JS, minify JS\n+ `gulp dev` - build the site, but use separate CSS and JS files for debugging\n+ `gulp hint` - Lint JavaScript and JSON files\n\n## Structure\n\n+ `assets/` - files that get copied into `build/`. Fonts and images have been ignored from the repo\n+ `base/` - boilerplate CSS and JS files\n+ `build/` - where static site gets built\n+ `content/` - page content\n+ `data/` - site data\n+ `demos/` - in-page demo modules, similar to modules\n+ `modules/` - See Modules below\n+ `tasks/` - Gulp tasks to build the site\n+ `templates/` - page templates\n\n## Modules\n\nModules are re-usable components used throughout the site. A module may consist of template, JS, and CSS files.\n\n    modules/\n      page-nav/\n        page-nav.css\n        page-nav.js\n        page-nav.hbs\n\n[BEM](https://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/) is used for CSS code style.\n\n``` css\n.page-nav {} /* block */\n.page-nav__item {} /* element, child */\n.page-nav--dark {} /* modifier */\n```\n\nJavaScript can be initialized for each element with `data-js` attribute.\n\n``` html\n\u003cdiv class=\"page-nav\" data-js=\"pageNav\"\u003e\n```\n\n``` js\nZdogDocs.pageNav = function( elem ) {\n  // do something with elem\n};\n```\n\n---\n\nMade by [Metafizzy](https://metafizzy.co) 🌈🐻\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafizzy%2Fzdog-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetafizzy%2Fzdog-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafizzy%2Fzdog-docs/lists"}