{"id":15540242,"url":"https://github.com/rm-hull/google-analytics-codox-theme","last_synced_at":"2025-06-12T11:33:48.493Z","repository":{"id":62432808,"uuid":"75220090","full_name":"rm-hull/google-analytics-codox-theme","owner":"rm-hull","description":"Add google-analytics tracking to Codox-generated documentation","archived":false,"fork":false,"pushed_at":"2018-11-10T23:46:39.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T19:44:40.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/rm-hull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-30T19:33:36.000Z","updated_at":"2018-11-10T23:46:41.000Z","dependencies_parsed_at":"2022-11-01T20:45:46.105Z","dependency_job_id":null,"html_url":"https://github.com/rm-hull/google-analytics-codox-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rm-hull/google-analytics-codox-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fgoogle-analytics-codox-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fgoogle-analytics-codox-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fgoogle-analytics-codox-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fgoogle-analytics-codox-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rm-hull","download_url":"https://codeload.github.com/rm-hull/google-analytics-codox-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fgoogle-analytics-codox-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259456091,"owners_count":22860484,"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-10-02T12:13:20.719Z","updated_at":"2025-06-12T11:33:48.460Z","avatar_url":"https://github.com/rm-hull.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Analytics Codox Theme\n\n[![Clojars Project](https://img.shields.io/clojars/v/google-analytics-codox-theme.svg)](https://clojars.org/google-analytics-codox-theme)\n[![Downloads](https://versions.deps.co/rm-hull/google-analytics-codox-theme/downloads.svg)](https://versions.deps.co/rm-hull/google-analytics-codox-theme)\n[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg?maxAge=2592000)]()\n\n[codox](https://github.com/weavejester/codox) is a great tool for generating\nAPI documentation from Clojure or ClojureScript source code.\n\nWith this codox theme, your `codox` documentation will automatically include\nthe inline javascript to track page hits using Google Analytics.\n\n## Usage\n\nYou must use `codox` version **0.10.1** or above.\n\nAdd/blend the following to the `:dev` profile section in your _project.clj_:\n\n```clojure\n(defproject myproj\n  ...\n\n  :profiles {\n    :dev {\n      :dependencies [\n        [google-analytics-codox-theme \"0.1.0\"]]}})\n```\n\nCreate or obtain your GA tracking code (this will usually be a value like\n**UA-12345678-1**), and add/blend the following settings to the `:codox` map in\nyour project (obviously, substituting the _real_ tracking code):\n\n```clojure\n(defproject myproj\n  ...\n\n  :codox {\n    :themes [:default [:google-analytics {:tracking-code \"UA-12345678-1\"}]]})\n```\n\nHave a look at the [settings for a project already configured](https://github.com/rm-hull/infix/blob/master/project.clj#L22) with this theme.\n\nRun `lein codox` as normal and publish your newly generated html files: they\nshould now all include the relevant tracking code.\n\n# License\n\n## MIT License\n\nCopyright (c) 2016 Richard Hull\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Fgoogle-analytics-codox-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frm-hull%2Fgoogle-analytics-codox-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Fgoogle-analytics-codox-theme/lists"}