Skip to content

Commit 7f5ef1c

Browse files
committed
Fix cross-reference in docs
1 parent fda0922 commit 7f5ef1c

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,16 +697,16 @@ build tool.
697697
A [Development Container](https://containers.dev) (or Dev Container for short)
698698
allows you to use a container as a full‑featured development environment.
699699

700-
You can run Dev Containers locally/remotely (with VS Code) or create a
700+
You can run Dev Containers locally/remotely (with VS Code), or create a
701701
[Codespace](https://github.com/features/codespaces) for a branch in a
702702
repository to develop online.
703703

704704
Stack's default Dev Container is intended for use with its default
705705
project‑level configuration (`stack.yaml`). But there are also Dev Containers
706706
for the experimental project‑level configurations.
707707

708-
See [Stack's code (advanced) > Maintainers > Dev Containers](../maintainers/devcontainers)
709-
for more information.
708+
For further information, see the documentation for
709+
[Dev Containers](doc/dev_containers.md).
710710

711711
## Slack channel
712712

doc/dev_containers.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,19 @@ and `install-ghc: false`. That ensures that only the GHC available in the Dev Co
7474

7575
## Usage
7676

77-
For local/remote usage with VS Code, please follow the instructions at
78-
[Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers).
77+
You can run Dev Containers locally/remotely with VS Code, or create a
78+
[GitHub Codespace](https://github.com/features/codespaces) for a branch in a
79+
repository to develop online.
7980

80-
For use with Github Codespaces, please follow the instruction at
81-
[Creating a codespace for a repository](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository).
81+
=== "VS Code"
82+
83+
Follow the instructions at
84+
[Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers).
85+
86+
=== "GitHub Codespaces"
87+
88+
For use with GitHub Codespaces, follow the instructions at
89+
[Creating a codespace for a repository](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository).
8290

8391
### Persistence
8492

0 commit comments

Comments
 (0)