{"id":13837742,"url":"https://github.com/TuringLang/docs","last_synced_at":"2025-07-10T19:30:31.875Z","repository":{"id":39673705,"uuid":"144602889","full_name":"TuringLang/docs","owner":"TuringLang","description":"Documentation and tutorials for the Turing language","archived":false,"fork":false,"pushed_at":"2024-11-15T18:25:48.000Z","size":1087365,"stargazers_count":231,"open_issues_count":50,"forks_count":99,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-15T19:20:08.406Z","etag":null,"topics":["hacktoberfest","julia","machine-learning","probabilistic-programming","turing-language"],"latest_commit_sha":null,"homepage":"https://turinglang.org/docs/","language":"Shell","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/TuringLang.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}},"created_at":"2018-08-13T16:03:29.000Z","updated_at":"2024-11-15T18:08:58.000Z","dependencies_parsed_at":"2024-03-01T14:27:04.075Z","dependency_job_id":"08e10f66-2b5c-4f9b-9c5a-e9496b2b1ba4","html_url":"https://github.com/TuringLang/docs","commit_stats":null,"previous_names":["turinglang/docs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringLang%2Fdocs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringLang%2Fdocs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringLang%2Fdocs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringLang%2Fdocs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TuringLang","download_url":"https://codeload.github.com/TuringLang/docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225653891,"owners_count":17502939,"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":["hacktoberfest","julia","machine-learning","probabilistic-programming","turing-language"],"created_at":"2024-08-04T15:01:23.471Z","updated_at":"2024-11-21T00:31:06.000Z","avatar_url":"https://github.com/TuringLang.png","language":"Shell","readme":"# Documentation and Tutorials for Turing.jl\n\nThis repository is part of [Turing.jl's](https://turinglang.org/) website (i.e. `https://turinglang.org/docs/`). It contains the Turing.jl documentation and tutorials. \n- The `master` branch contains the quarto source \n- The `gh-pages` branch contains the `html` version of these documents compiled from the `master` branch.\n\n## Local development\n\nTo get started with the docs website locally, you'll need to have [Quarto](https://quarto.org/docs/download/) installed.\nMake sure you have at least version 1.5 of Quarto installed, as this is required to correctly run [the native Julia engine](https://quarto.org/docs/computations/julia.html#using-the-julia-engine).\n\nOnce you have the prerequisite installed, you can follow these steps:\n\n1. Clone this repository:\n\n    ```bash\n    git clone https://github.com/TuringLang/docs\n    ```\n\n2. Navigate into the cloned directory:\n\n    ```bash\n    cd docs\n    ```\n\n3. Instantiate the project environment:\n\n    ```bash\n    julia --project=. -e 'using Pkg; Pkg.instantiate()'\n    ```\n\n4. Preview the website using Quarto Preview:\n\n    ```bash\n    quarto preview\n    ```\n\n    This will launch a local server at http://localhost:4200/, which you can view in your web browser by navigating to the link shown in your terminal.\n    Note: Avoid clicking links in the navbar while previewing locally because they will eventually lead to https links online!\n\n5. Render the website locally:\n\n    ```bash\n    quarto render\n    ```\n\n    This will build the entire documentation and place the output in the `_site` folder.\n    You can then view the rendered website by launching a HTTP server from that directory, e.g. using Python:\n\n    ```bash\n    cd _site\n    python -m http.server 8000\n    ```\n\n    Then, navigate to http://localhost:8000/ in your web browser.\n\n    Note that rendering the entire documentation site can take a long time (usually multiple hours).\n    If you wish to speed up local rendering, there are two options available:\n\n    - Download the most recent `_freeze` folder from the [GitHub releases of this repo](https://github.com/turinglang/docs/releases), and place it in the root of the project.\n      This will allow Quarto to reuse the outputs of previous computations for any files which have not been changed since that `_freeze` folder was created.\n\n    - Alternatively, render a single tutorial or `qmd` file without compiling the entire site.\n      To do this, pass the `qmd` file as an argument to `quarto render`:\n\n      ```\n      quarto render path/to/index.qmd\n      ```\n\n## Troubleshooting build issues\n\nAs described in the [Quarto docs](https://quarto.org/docs/computations/julia.html#using-the-julia-engine), Quarto's Julia engine uses a worker process behind the scenes.\nSometimes this can result in issues with old package code not being unloaded (e.g. when package versions are upgraded).\nIf you find that Quarto's execution is failing with errors that aren't reproducible via a normal REPL, try adding the `--execute-daemon-restart` flag to the `quarto render` command:\n\n```bash\nquarto render /path/to/index.qmd --execute-daemon-restart\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTuringLang%2Fdocs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTuringLang%2Fdocs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTuringLang%2Fdocs/lists"}