{"id":20691371,"url":"https://github.com/metafizzy/infinite-scroll-docs","last_synced_at":"2026-02-27T10:36:31.091Z","repository":{"id":22714954,"uuid":"93778741","full_name":"metafizzy/infinite-scroll-docs","owner":"metafizzy","description":"📝 Documentation for Infinite Scroll","archived":false,"fork":false,"pushed_at":"2023-01-06T17:47:03.000Z","size":992,"stargazers_count":2,"open_issues_count":14,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:01:28.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://infinite-scroll.com","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":"2017-06-08T18:15:09.000Z","updated_at":"2023-06-23T07:40:24.000Z","dependencies_parsed_at":"2023-01-12T08:45:35.682Z","dependency_job_id":null,"html_url":"https://github.com/metafizzy/infinite-scroll-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%2Finfinite-scroll-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Finfinite-scroll-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Finfinite-scroll-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafizzy%2Finfinite-scroll-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metafizzy","download_url":"https://codeload.github.com/metafizzy/infinite-scroll-docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285552,"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-11-16T23:16:28.552Z","updated_at":"2026-02-27T10:36:26.058Z","avatar_url":"https://github.com/metafizzy.png","language":"Handlebars","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infinite Scroll docs\n\nDocumentation for Infinite Scroll, the JavaScript library for automatically adding next pages.\n\n[infinite-scroll.com](https://infinite-scroll.com)\n\n## Install\n\nBuilding these docs requires [npm](https://npmjs.com).\n\n``` bash\nnpm install\n```\n\n## Scripts\n\nRun with npm: `npm run dev`.\n\n- `build` - build production version of site\n- `dev` - built development version of site\n- `lint` - lint JS and CSS \"npm run lint:js \u0026\u0026 npm run lint:css\",\n- `lint:js` - lint JS. Run `npm run lint:js -- --fix` to make automatic fixes\n- `lint:js` - lint CSS. Run `npm run lint:css -- --fix` to make automatic fixes\n\n## Structure\n\n+ `assets/` - files that get copied into `build/`\n+ `build/` - where static site gets built\n+ `content/` - page content\n+ `css/`  - boilerplate CSS\n+ `data/` - Site and logo data files.\n+ `js/` - boilerplate JS\n+ `modules/` - See Modules below\n  - `modules/demos` - Demo modules\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=\"page-nav\"\u003e\n```\n\n``` js\nInfiniteScrollDocs.['page-nav'] = function( elem ) {\n  // do something with elem\n};\n```\n\n---\n\nBy [Metafizzy](https://metafizzy.co)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafizzy%2Finfinite-scroll-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetafizzy%2Finfinite-scroll-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafizzy%2Finfinite-scroll-docs/lists"}