{"id":28931472,"url":"https://github.com/netmarkjp/dockerfile-mkdocs-pptrhtmltopdf","last_synced_at":"2026-02-08T07:34:18.892Z","repository":{"id":52299187,"uuid":"229356437","full_name":"netmarkjp/dockerfile-mkdocs-pptrhtmltopdf","owner":"netmarkjp","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-17T20:47:27.000Z","size":67,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-12T02:49:25.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/netmarkjp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-21T00:36:21.000Z","updated_at":"2023-06-14T11:43:54.000Z","dependencies_parsed_at":"2025-08-12T02:48:16.703Z","dependency_job_id":null,"html_url":"https://github.com/netmarkjp/dockerfile-mkdocs-pptrhtmltopdf","commit_stats":null,"previous_names":["netmarkjp/mkdocs-pptrhtmltopdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netmarkjp/dockerfile-mkdocs-pptrhtmltopdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netmarkjp","download_url":"https://codeload.github.com/netmarkjp/dockerfile-mkdocs-pptrhtmltopdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29224439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-06-22T16:06:22.147Z","updated_at":"2026-02-08T07:34:18.873Z","avatar_url":"https://github.com/netmarkjp.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockerfile-mkdocs-pptrhtmltopdf\n\n# Example\n\nin mkdocs.yml\n\n```yaml\nextra_css:\n  - extra.css\n```\n\nin src/extra.css\n\n```css\nbody {\n    font-family: \"Noto Sans\", \"Noto Sans CJK JP\", sans-serif;\n}\n```\n\nExample: When compact style is suitable.\n\n```css\n@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);\nbody {\n    font-family: \"Noto Sans Japanese\", \"Noto Sans CJK JP\", \"Noto Sans\", sans-serif;\n}\np {\n    font-size: small;\n    text-indent: 1em;\n}\n.md-typeset p {\n    font-size: small;\n    margin-top: 0.25em;\n    margin-bottom: 0em;\n}\n.md-typeset ol li, .md-typeset ul li {\n    font-size: small;\n    margin-bottom: 0.25em;\n    line-height: 1.25em;\n}\n```\n\n# Usage\n\n## serve\n\n```bash\ndocker run --rm -p 8000:8000 -v $(pwd):/mnt -u $(id -u):$(id -g) --entrypoint mkdocs ghcr.io/netmarkjp/mkdocs-pptrhtmltopdf serve       \n```\n\n## build html and pdf\n\n```bash\ndocker run --rm -v $(pwd):/mnt -u $(id -u):$(id -g) ghcr.io/netmarkjp/mkdocs-pptrhtmltopdf\n```\n\n=\u003e `draft-html.zip` `draft.pdf` will generate.\n\n# in GitLab CI\n\nexample of `.gitlab-ci.yml` is below.\n\n```yaml\nstages:\n  - release\nrelease:\n  stage: release\n  tags:\n    - docker\n  image:\n    name: \"ghcr.io/netmarkjp/mkdocs-pptrhtmltopdf:latest\"\n    entrypoint: [\"\"]\n  script:\n    - /opt/mkdocs-pptrhtmltopdf/build.sh\n  artifacts:\n    paths:\n      - draft.pdf\n      - draft-html.zip\n```\n\n# in GitHub Actions\n\nexample of `.github/workflows/build.yml` is below.\n\n```yaml\nname: Build document\n\non:\n  push:\n    branches:\n      - \"*\"\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run for any PRs.\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build document\n        run: docker run --rm -v $(pwd):/mnt ghcr.io/netmarkjp/mkdocs-pptrhtmltopdf:latest\n\n      - uses: actions/upload-artifact@v2\n        with:\n          name: draft-files\n          path: |\n            draft.pdf\n            draft-html.zip\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetmarkjp%2Fdockerfile-mkdocs-pptrhtmltopdf/lists"}