github.com/m3db/m3@v1.5.0/netlify.toml (about)

     1  [build]
     2    # Directory to change to before starting a build.
     3    # This is where we will look for package.json/.nvmrc/etc.
     4    base = "site/"
     5  
     6    # Directory that contains the deploy-ready HTML files and assets generated by
     7    # the build. This is relative to the base directory if one has been set, or the
     8    # root directory if a base has not been set. This sample publishes the
     9    # directory located at the absolute path "root/project/build-output"
    10    publish = "/site/public/"
    11    
    12    command = "make site-build -C ../"  
    13    HUGO_VERSION = "0.76.5"
    14  
    15  [[redirects]]
    16    from = "/misc/writing_docs/"
    17    to = "/docs"
    18  
    19  [[redirects]]
    20    from = "https://m3metrics.io/*"
    21    to = "https://m3db.io/:splat"
    22  
    23  [[redirects]]
    24    from = "https://m3db.netlify.com/*"
    25    to = "https://m3db.io/:splat"
    26  
    27  [[redirects]]
    28    from = "https://docs.m3db.io/*"
    29    to = "https://m3db.io/docs/:splat"
    30  
    31  [[redirects]]
    32    from = "/docs/how_to/single_node"
    33    to = "/docs/quickstart"
    34  
    35  [[redirects]]
    36    from="/docs/how_to/kubernetes"
    37    to="/docs/cluster/kubernetes_cluster"
    38  
    39  [[redirects]]
    40    from="/docs/quickstart/kubernetes"
    41    to="/docs/cluster/kubernetes_cluster"
    42  
    43  [[redirects]]
    44    from="/docs/how_to/aggregator"
    45    to="/docs/m3aggregator/setup"
    46  
    47  [[redirects]]
    48    from="/docs/how_to/query"
    49    to="/docs/m3query/setup"
    50  
    51  # TODO: Fix this with new content type
    52  [[redirects]]
    53    from = "/talks"
    54    to = "/docs/overview/media"