{"id":15946637,"url":"https://github.com/kanghyojun/mystyleguide","last_synced_at":"2025-04-03T22:26:45.697Z","repository":{"id":25658395,"uuid":"29093864","full_name":"kanghyojun/mystyleguide","owner":"kanghyojun","description":null,"archived":false,"fork":false,"pushed_at":"2015-01-11T16:20:10.000Z","size":120,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T10:29:40.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/kanghyojun.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":"2015-01-11T14:14:51.000Z","updated_at":"2015-01-12T02:41:40.000Z","dependencies_parsed_at":"2022-09-20T21:12:51.145Z","dependency_job_id":null,"html_url":"https://github.com/kanghyojun/mystyleguide","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/kanghyojun%2Fmystyleguide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fmystyleguide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fmystyleguide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fmystyleguide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanghyojun","download_url":"https://codeload.github.com/kanghyojun/mystyleguide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247087881,"owners_count":20881478,"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-07T09:22:42.261Z","updated_at":"2025-04-03T22:26:45.663Z","avatar_url":"https://github.com/kanghyojun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mystyleguide\n\ncode styleguide for me\n\n\n## install\n\n    $ pip install .\n\n## view guides\n\n```bash\n$ mystyleguide build\n$ ls -al out\n-rw-r--r--  1 hyojun  staff  8294  1 12 00:59 coffee.html\n-rw-r--r--  1 hyojun  staff   598  1 12 00:39 scala.html\n...\n```\n\n## Contribution\n\nWith `meta.rst`, you can write your guides. it follows [jinja2 syntax][jinja2].\nFor instance you can write styleguide for new language called foobaz.\n\n\n```\n{% extends \"meta.rst\" %}\n\n{% block language %}foobaz{% endblock %}\n\n{% block code_layout %}\nIndentation\n***************\nUse 2 spaces per indentation level.\n\n...\n{% endblock %}\n\n{% block string_quotes %}\n...\n{% endblock %}\n\n{% block whitespace %}\n...\n{% endblock %}\n\n{% block comments %}\n...\n{% endblock %}\n\n{% block convention %}\n...\n{% endblock %}\n\n{% block recommend %}\n...\n{% endblock %}\n\n```\n\nand save it as `foobaz.rst` under `yourpath/mystyleguide/templates/foobaz`.\n\n\n[jinja2]: http://jinja.pocoo.org/docs/dev/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanghyojun%2Fmystyleguide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanghyojun%2Fmystyleguide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanghyojun%2Fmystyleguide/lists"}