Skip to content

Commit

Permalink
move the docs back into the root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rimelek committed Apr 10, 2022
1 parent 3bcd084 commit 89e1cc9
Show file tree
Hide file tree
Showing 20 changed files with 18 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/conf.py → conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# -- Project information -----------------------------------------------------

project = 'Learn Docker'
copyright = '2021, Takács Ákos'
author = 'Takács Ákos'
copyright = '2021, Ákos Takács'
author = 'Ákos Takács'


# -- General configuration ---------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 16 additions & 3 deletions docs/pages/projects/p01.rst → pages/projects/p01.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ Go to Project 1 from the git repository root:
cd projects/p01
Start the container:
Project structure:

.. code:: text
.
└── www
└── index.html
This project contains only one folder, "www" and an :code:`index.html` in it
with the following line:

.. literalinclude:: ../../projects/p01/www/index.html

Start the container and mount "www" as document root:

.. code:: bash
Expand All @@ -29,8 +42,8 @@ Test the web page:
.. code:: text
http://192.168.1.2.xip.io:8080
# output:
# Hello Docker (p01)
Now you should see the content of the mounted :code:`index.html`

Delete the container to make port 8080 free again.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 89e1cc9

Please sign in to comment.