{"id":19298220,"url":"https://github.com/casbin/casvisor-website","last_synced_at":"2025-04-22T09:32:16.600Z","repository":{"id":189505717,"uuid":"677245532","full_name":"casbin/casvisor-website","owner":"casbin","description":"Docs site of Casvisor : https://github.com/casbin/casvisor","archived":false,"fork":false,"pushed_at":"2024-08-03T07:06:47.000Z","size":7099,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T22:37:45.012Z","etag":null,"topics":["auditing","casbin","casvisor","docs","docusaurus","log","logging","site"],"latest_commit_sha":null,"homepage":"https://casvisor.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casbin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"casbin"}},"created_at":"2023-08-11T05:05:31.000Z","updated_at":"2024-08-03T07:06:51.000Z","dependencies_parsed_at":"2023-08-20T14:41:14.418Z","dependency_job_id":"7e5c77d6-d03b-46ea-9d53-7752f4b91399","html_url":"https://github.com/casbin/casvisor-website","commit_stats":{"total_commits":19,"total_committers":6,"mean_commits":"3.1666666666666665","dds":0.4736842105263158,"last_synced_commit":"544b6e21148c41170afc7a437a23b7161ebc4f66"},"previous_names":["casbin/casvisor-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasvisor-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasvisor-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasvisor-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasvisor-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","download_url":"https://codeload.github.com/casbin/casvisor-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248270481,"owners_count":21075794,"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":["auditing","casbin","casvisor","docs","docusaurus","log","logging","site"],"created_at":"2024-11-09T23:07:17.979Z","updated_at":"2025-04-22T09:32:16.580Z","avatar_url":"https://github.com/casbin.png","language":"JavaScript","funding_links":["https://github.com/sponsors/casbin"],"categories":[],"sub_categories":[],"readme":"# [casvisor.org](https://casvisor.org) [![Build and Deploy](https://github.com/casbin/casvisor-website/actions/workflows/master.yml/badge.svg)](https://github.com/casbin/casvisor-website/actions/workflows/master.yml)\n\nThe configuration and documentation of casvisor website: \u003chttps://casvisor.org/\u003e.\n\ncasvisor website is built using [Docusaurus](https://docusaurus.io/), you can get the PDF at [casvisor.org/pdf](https://casvisor.org/pdf) or [GitHub Action](https://github.com/casbin/casvisor-website/actions/workflows/master.yml).\n\n## Get Started\n\n### Requirements\n\n1. [Git](https://git-scm.com/downloads)\n2. [Node.js](https://nodejs.org/en/download/)：v16.14 or above\n3. [Yarn](https://classic.yarnpkg.com/en/docs/install): please use Yarn 1\n\n### Running Locally\n\n1. `git clone https://github.com/casbin/casvisor-website.git`\n2. `cd casvisor-website`\n3. `yarn`: install dependencies.\n4. `yarn start`: starting the development server.\n\n## Contributing\n\nYou can contribute to the documentation site in different ways: [Documentation Writing](#documentation-writing), [Translation](#translation), [Website Development](#website-development).\n\n### Documentation Writing\n\nFor the configuration of the sidebar, you can refer to [Sidebar](https://docusaurus.io/docs/sidebar).\n\nFor the features that you may use when writing documents, please refer to [Markdown Features](https://docusaurus.io/docs/markdown-features).\n\nA standard document should look like this:\n\n````md\n---\ntitle: Title\ndescription: description\nkeywords: [keyword1, keyword2]\nauthors: [GitHub username]\n---\n\n## Headers\n\nOnly h2 and h3 will be in the TOC by default, so h1 is not recommended to use.\n\n### h3\n\ncontent\n\n#### h4\n\ncontent\n\n````\n\nWe use [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) to lint the markdown and mdx files, you can use the following command to fix basic errors and get a list of document issues:\n\n```bash\nyarn lint:md\n```\n\nIf you write docs using VSCode, Sublime, or Vim/Neovim, you can install the [extension](https://github.com/DavidAnson/markdownlint#related) to get better lint experience.\n\n#### Caution\n\n##### Admonitions\n\nYou can add [Admonitions](https://docusaurus.io/docs/markdown-features/admonitions) in the documentation, but please leave two blank lines like this:\n\n```md\n:::info Title\n\nTitle is optional\n\n:::\n```\n\n##### JSX\n\nYou can use JSX in documents, such as the [Tabs](https://docusaurus.io/docs/markdown-features/tabs) component provided by Docusaurus, but to prevent Crowdin from breaking the code ([mdx-solutions](https://docusaurus.io/docs/i18n/crowdin#mdx-solutions)), please wrap the JSX code:\n\n````md\n```mdx-code-block\nimport Tabs from '@theme/Tabs';\nimport TabItem from '@theme/TabItem';\n```\n\n```mdx-code-block\n\u003cTabs\u003e\n\u003cTabItem value=\"go\" label=\"Go\"\u003e\n```\n\ncontent\n\n```mdx-code-block\n\u003c/TabItem\u003e\n\u003cTabItem value=\"java\" label=\"Java\"\u003e\n```\n\ncontent\n\n```mdx-code-block\n\u003c/TabItem\u003e\n\u003c/Tabs\u003e\n```\n\n````\n\n### Translation\n\n[Crowdin](https://crowdin.com/project/casvisor-website) and [Docusaurus i18n](https://docusaurus.io/docs/i18n/introduction) is used for casvisor website's translation.\n\nPlease note that some sentences do not require translation or need to be translated according to our regulations:\n\n- Please do not translate strings like `:::note`, `:::tip`, wrong translation may cause typographical error([casdoor-website#305](https://github.com/casdoor/casdoor-website/issues/305)).\n\n- You may see some sentences containing `{}`, like:\n\n```text\nAt our {repoLink}, browse and submit {issueLink} or {prLink} for bugs you find or any new features you may want implemented.\n```\n\nPlease do not translate `{repoLink}` or `{issueLink}` or any similar words, they are [interpolation placeholders](https://docusaurus.io/docs/docusaurus-core#translate-props).\n\n- Please don't translate sentences like `authors: [casvisor]`.\n\n### Website Development\n\nSee [Creating Pages](https://docusaurus.io/docs/creating-pages) to learn how to create a page.\n\nSee [Styling and Layout](https://docusaurus.io/docs/styling-layout) to learn how to modify styles.\n\nSee [Swizzling](https://docusaurus.io/docs/swizzling) to learn how to modify Docusaurus built-in components.\n\n## LICENSE\n\n[Apache-2.0 license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasvisor-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasbin%2Fcasvisor-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasvisor-website/lists"}