{"id":16681561,"url":"https://github.com/davidcralph/docsify-ethicalads","last_synced_at":"2025-04-09T23:11:31.863Z","repository":{"id":57214247,"uuid":"301216809","full_name":"davidcralph/docsify-ethicalads","owner":"davidcralph","description":"EthicalAds support for Docsify","archived":false,"fork":false,"pushed_at":"2022-05-26T17:25:13.000Z","size":13,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T23:11:26.471Z","etag":null,"topics":["docsify","docsify-js","docsify-plugin","ethicalads"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/davidcralph.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}},"created_at":"2020-10-04T20:05:34.000Z","updated_at":"2023-07-27T09:19:23.000Z","dependencies_parsed_at":"2022-08-29T02:10:17.118Z","dependency_job_id":null,"html_url":"https://github.com/davidcralph/docsify-ethicalads","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/davidcralph%2Fdocsify-ethicalads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcralph%2Fdocsify-ethicalads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcralph%2Fdocsify-ethicalads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcralph%2Fdocsify-ethicalads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidcralph","download_url":"https://codeload.github.com/davidcralph/docsify-ethicalads/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125590,"owners_count":21051770,"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":["docsify","docsify-js","docsify-plugin","ethicalads"],"created_at":"2024-10-12T14:04:40.414Z","updated_at":"2025-04-09T23:11:31.839Z","avatar_url":"https://github.com/davidcralph.png","language":"JavaScript","readme":"# docsify-ethicalads\nEthicalAds support for Docsify\n\n## Usage\n```html\n\u003cscript src='https://unpkg.com/docsify-ethicalads@1.0.4/dist/docsify-ethicalads.js'\u003e\u003c/script\u003e\n\u003c!-- or --\u003e\n\u003cscript src='https://unpkg.com/docsify-ethicalads@1.0.4/dist/docsify-ethicalads.min.js'\u003e\u003c/script\u003e\n```\n\n```js\nwindow.$docsify = {\n  name: 'Test',\n  loadSidebar: true,\n  plugins: [\n    DocsifyEthicalAds.create('ethicalads-publisher-id', {\n      type: 'image'\n    })\n  ]\n}\n```\n\n## Options\n``type`` - Either \"image\" or \"text\" (default: image)\n\n``horizontal`` - Boolean, allows the ad to be horizontal instead of vertical (default: false)\n\n``dark`` - Boolean, whether or not dark theme is on the advert or not (default: false)\n\n``theme`` - One of the themes [here](https://ethical-ad-client.readthedocs.io/en/latest/#themes) (default: see EthicalAds documentation)\n\n``keywords`` - \"data-ea-keywords\" (default: see EthicalAds documentation)\n\n``campaignTypes`` - \"data-ea-campaign-types\" (default: see EthicalAds documentation)\n\n``placementID`` - Placement ID for the ad element (default: none)\n\n``forceAd`` - Ad to force show for testing (default: none)\n\n``forceCampaign`` - Campaign to force show for testing (default: none)\n\n``manual`` - Require manual loading of ads at a certain time (default: false)\n\n## Credits\n[docsify-plugin-carbon](https://github.com/waruqi/docsify-plugin-carbon) - Reference\n\n[EthicalAds Documentation](https://ethical-ad-client.readthedocs.io/en/latest/#configuration) - Reference\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcralph%2Fdocsify-ethicalads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidcralph%2Fdocsify-ethicalads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcralph%2Fdocsify-ethicalads/lists"}