# How do I publish documenter.jl-generated docs to a subdirectory of a custom subddomain?

**URL:** <https://discourse.julialang.org/t/how-do-i-publish-documenter-jl-generated-docs-to-a-subdirectory-of-a-custom-subddomain/46602>\
**Category:** General Usage\
**Tags:** question, documenter, github\
**Created:** [September 14, 2020, 7:07pm UTC](https://discourse.julialang.org/t/how-do-i-publish-documenter-jl-generated-docs-to-a-subdirectory-of-a-custom-subddomain/46602 "2020-09-14T19:07:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlandau](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vlandau/32/8986_2.png) [@vlandau](https://discourse.julialang.org/u/vlandau)\
**Post date:** [September 14, 2020, 7:07pm UTC](https://discourse.julialang.org/t/how-do-i-publish-documenter-jl-generated-docs-to-a-subdirectory-of-a-custom-subddomain/46602/1 "2020-09-14T19:07:00Z")

</div>

My github organization is hoping to serve docs for two Julia packages on a subdomain, [docs.circuitscape.org](http://docs.circuitscape.org). If you visit that page, you’ll see that currently it just shows the docs for one package, Omniscape.jl, but we want to place the Omniscape.jl docs at [docs.circuitscape.org/Omniscape.jl](http://docs.circuitscape.org/Omniscape.jl). The folder structure would be:

```julia
├── docs.circuitscape.org
│ ├── Omniscape.jl
│ ├── dev
│ └── stable
│ └── Circuitscape.jl
│ ├── dev
│ └── stable

```

Can we tell Documenter.jl to create the docs in a subdirectory, e.g. Omniscape.jl/? Or might this require creating a third repository for [docs.circuitscape.org](http://docs.circuitscape.org), then we can somehow set Documenter.jl in each of the package repositories to push the docs to the third repo in Omniscape.jl and Circuitscape.jl folders? Thanks!!

---

<div class="post-metadata">

**Author:** ![viralbshah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/viralbshah/32/54_2.png) [@viralbshah](https://discourse.julialang.org/u/viralbshah)\
**Post date:** [September 14, 2020, 8:46pm UTC](https://discourse.julialang.org/t/how-do-i-publish-documenter-jl-generated-docs-to-a-subdirectory-of-a-custom-subddomain/46602/2 "2020-09-14T20:46:47Z")

</div>

Figured this out by following @mortenpi’s suggestion. We now have a [circuitscape.github.io](http://circuitscape.github.io) repo in the Circuitscape org with a CNAME file.

Each repo can then have its own path in the URL. This works now:  
[https://docs.circuitscape.org/Omniscape.jl/dev/](https://docs.circuitscape.org/Omniscape.jl/dev/)
