Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorial for building a full-stack application with Smithy #2362

Merged
merged 16 commits into from
Aug 29, 2024
8 changes: 6 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ SPHINXBUILD = python3 -msphinx
SPHINXPROJ = Smithy
SHELL := /bin/bash

install:
install: requirements.txt
python3 -m venv build/venv
source build/venv/bin/activate && pip3 install -r requirements.txt . && pip3 install -e .
touch install

clean:
-rm -rf build/*
-rm -rf build/* install

html1:
@source build/venv/bin/activate && $(SPHINXBUILD) -M html "source-1.0" "build/1.0" $(SPHINXOPTS) -W --keep-going -n $(O)
Expand All @@ -28,4 +29,7 @@ merge-versions:
openhtml:
open "build/html/index.html"

dev: install
@source build/venv/bin/activate && sphinx-autobuild "source-2.0" "build/2.0" $(SPHINXOPTS) $(O)

.PHONY: Makefile clean
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Sphinx-Substitution-Extensions==2022.2.16
sphinx-tabs>=3.4.4

sphinx_copybutton==0.5.0
sphinx-autobuild>=2024.4.16
1 change: 1 addition & 0 deletions docs/source-2.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Read more
spec/index
trait-index
guides/index
tutorials/index
Additional specs <additional-specs/index>
aws/index
ts-ssdk/index
Expand Down
Loading
Loading