Skip to content

Commit

Permalink
some work on information architecture / nav
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaoust committed Jun 21, 2024
1 parent b853d0d commit bdcfe7f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
10 changes: 9 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,13 @@
# The first upgrade guide lived under getting started. It has been moved to its own area.
[[redirects]]
from = "/get-started/upgrade-holochain/"
to = "/upgrade/upgrade-holochain-0.2"
to = "/resources/upgrade/upgrade-holochain-0.2/"
status = 301

# Every time there's a new breaking release that achieves 'recommended' status,
# update this temporary redirect. /resources/upgrade/latest/ isn't in the site nav,
# but it is a handy URL we can hand out without needing to look up what the proper URL is.
[[redirects]]
from = "/resources/upgrade/latest/"
to = "resources/upgrade/upgrade-holochain-0.2/"
status = 302
3 changes: 1 addition & 2 deletions src/pages/_data/navigation/mainNav.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
{ title: "Dev Tools Setup Tips", url: "/get-started/install-advanced/" },
{ title: "Setup Without Nix", url: "/get-started/install-without-nix/" },
{ title: "Distribute your App", url: "/get-started/distribute-your-app/" },
{ title: "Holochain Upgrade 0.1 → 0.2", url: "/upgrade/upgrade-holochain-0.2/" },
{ title: "Holochain Upgrade 0.2 → 0.3", url: "/upgrade/upgrade-holochain-0.3/" },
{ title: "Setup For a Local Event", url: "/get-started/at-an-event/" },
]
},
Expand All @@ -33,6 +31,7 @@
]
},
{ title: "Resources", url: "/resources/", children: [
{ title: "Upgrade Guides", url: "/resources/upgrade/" },
{ title: "HDK", url: "https://docs.rs/hdk", external: true },
{ title: "HDI", url: "https://docs.rs/hdi", external: true },
{ title: "App API", url: "https://docs.rs/holochain_conductor_api/latest/holochain_conductor_api/enum.AppRequest.html", external: true },
Expand Down
4 changes: 4 additions & 0 deletions src/pages/resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ tocData:
href: tutorials-and-training
---

## Upgrade guides

If you're upgrading your hApp to a newer version of Holochain, we have some [upgrade guides](/resources/upgrade/) to make your work easier.

## HDK and HDI

When you write a Holochain application, the part that lives in Holochain is called a [DNA](/concepts/2_application_architecture/#layers-of-the-application-stack). It runs as a guest in a WebAssembly sandbox and talks to the host, or Holochain conductor, through the host API. It's also expected to implement callbacks that the conductor needs to call at certain times. The HDK and HDI Rust crates make it easy for you write guest code that interfaces with the conductor --- the HDK for your DNA's [coordinator zomes](/resources/glossary/#coordinator-zome) and the HDI for [integrity zomes](/resources/glossary/#integrity-zome).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ hide:

Upgrading between versions of Holochain can be a bit tricky! While Holochain is in beta, you can expect breaking changes between minor versions. To make upgrading your hApp easier, we create guides to help you move from one Holochain version to the next.

* [Holochain Upgrade 0.1 → 0.2](/upgrade/upgrade-holochain-0.2/)
* [Holochain Upgrade 0.2 → 0.3](/upgrade/upgrade-holochain-0.3/)
* [Holochain Upgrade 0.1 → 0.2](/resources/upgrade/upgrade-holochain-0.2/)
* [Holochain Upgrade 0.2 → 0.3](/resources/upgrade/upgrade-holochain-0.3/)
File renamed without changes.
File renamed without changes.

0 comments on commit bdcfe7f

Please sign in to comment.