Skip to content

Releases: jdoiro3/mkdocs-multirepo-plugin

Release v0.7.0

19 Jan 13:45
3ce1085
Compare
Choose a tag to compare

Release v0.6.3

07 Sep 17:28
edb63a3
Compare
Choose a tag to compare

Changes in this Release

Prs in Release

Release v0.6.2

28 Jul 12:42
b0cac12
Compare
Choose a tag to compare

Changes in this Release

Prs in Release

Release v0.6.1

29 Mar 13:11
2e29f64
Compare
Choose a tag to compare

Changes in this Release

Prs in Release

Release v0.6.0

02 Feb 18:54
3be8651
Compare
Choose a tag to compare

Changes in this Release

Prs in Release

Added Features

A new nav_repos was added to the configuration. This is similar to the repos configuration except that nav_repos
expects a nav to be present to use in the navigation. This configuration can also be used along with !import statements.

Usage Example

See example
plugins:
  - search
  - multirepo:
      # (optional) tells multirepo to cleanup the temporary directory after site is built.
      cleanup: false
      nav_repos:
        - name: backstage
          import_url: https://github.com/backstage/backstage
          # forward slash is needed in '/README.md' so that only the README.md in the root
          # directory is imported and not all README.md files.
          imports: [
            docs/publishing.md, docs/integrations/index.md, /README.md,
            # asset files needed
            docs/assets/*
            ]
        - name: fast-api
          import_url: https://github.com/tiangolo/fastapi
          imports: [docs/en/docs/index.md]

nav:
  - Backstage:
      - Home: backstage/README.md
      - Integration: backstage/docs/integrations/index.md
      - Publishing: backstage/docs/publishing.md
  - FastAPI: fast-api/docs/en/docs/index.md
  # you can still use the !import statement
  - MkdocStrings: '!import https://github.com/mkdocstrings/mkdocstrings'

In addition this release adds keeps_docs_dir to the !import statement, which means one imported repo can override the behavior set by the global configuration. See Fix edit urls and add new keep_docs_dir config param for more details.

Release v0.5.0

23 Jan 15:58
6c2f948
Compare
Choose a tag to compare

Changes in this Release

PRs in Release

Added Features

A new keep_docs_dir was added to the multirepo config. Setting this to true will cause the plugin to not move the contents of the docs_dir up and delete it. See issue #74 for more details.

Usage Example

plugins:
  - search
  - multirepo:
      keep_docs_dir: true

Release v0.4.12

21 Oct 12:10
4022398
Compare
Choose a tag to compare

Changes in this Release

  • Fixed use of GithubAccessToken environment variable so that the sparse clone now uses the correct token.

Release v0.4.11

20 Oct 14:10
15a023f
Compare
Choose a tag to compare

Changes in this Release

  • Added a specific GithubAccessToken environment variable that allows usage of the plugin with GitHub Apps-generated access tokens and personal access tokens.
  • Fixed edit urls for imported repos where the the Mkdocs edit_uri and repo_url aren't set, and the Multirepo edit_uri for an imported repo isn't set. Note that the edit url for imported repos hasn't been robustly tested yet.

Slugify Section Names and Changed Import Param Separator

22 Jun 13:07
e5e60a9
Compare
Choose a tag to compare

Breaking Changes

  • Previously, you would separate config values in an !import statement using multiple ampersands (&). Now, the !import statement will follow general URL syntax, where the url and query string (config values) is separated by one question mark (?) and then each config section is separated by an ampersand. Below is an example !import statement.
    '!import {url}?branch={branch}&docs_dir={path}&multi_docs={True | False}&config={filename}.yml'

Other Changes

  • Section names are slugified for clear urls (see PR #28 and Issue #24 for details). This most likely will change in future releases.

0.3.6

10 May 19:38
e75c8af
Compare
Choose a tag to compare

Added ability to clone git repos in github workflows with PAT authentication.