First commit
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM squidfunk/mkdocs-material:9 AS www-build
|
||||
|
||||
COPY ./ /src
|
||||
|
||||
WORKDIR /src
|
||||
RUN mkdocs build
|
||||
|
||||
FROM git.tesses.org/tesses50/basic-webserver:latest
|
||||
|
||||
COPY --from=www-build /src/site /www
|
||||
|
||||
EXPOSE 4206
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/tfileserver","-p","4206","/www"]
|
||||
17
docs/index.md
Normal file
17
docs/index.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Welcome to MkDocs
|
||||
|
||||
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
|
||||
|
||||
## Commands
|
||||
|
||||
* `mkdocs new [dir-name]` - Create a new project.
|
||||
* `mkdocs serve` - Start the live-reloading docs server.
|
||||
* `mkdocs build` - Build the documentation site.
|
||||
* `mkdocs -h` - Print help message and exit.
|
||||
|
||||
## Project layout
|
||||
|
||||
mkdocs.yml # The configuration file.
|
||||
docs/
|
||||
index.md # The documentation homepage.
|
||||
... # Other markdown pages, images and other files.
|
||||
3
docs/site.md
Normal file
3
docs/site.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# My Second Page
|
||||
|
||||
Cool
|
||||
1
mkdocs.yml
Normal file
1
mkdocs.yml
Normal file
@@ -0,0 +1 @@
|
||||
site_name: CrossLang
|
||||
Reference in New Issue
Block a user