-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
024a482
commit 428128a
Showing
12 changed files
with
123 additions
and
70 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,29 @@ | ||
So far, we only build a local site, meaning that only you can see your website in your browser. To make our website public, we need to deploy it. For this, we are going to use the continuous deployment service of GitHub Pages. You can find background information on what deployment means and continuous deployment on GitHub in these [Google Slides]. | ||
|
||
##### Task 1 | ||
|
||
If you haven't done already, initialize Git in your local repository: | ||
```bash | ||
cd my-website-folder | ||
git init | ||
``` | ||
##### Task 2 | ||
|
||
Go to your profile on GitHub and set up a new repository for your website: | ||
|
||
- Click on "New" | ||
- Give your repository a name, click "public"(1), and make sure that you **don't** add a README.md (for now) | ||
{ .annotate } | ||
|
||
1. The repository has to be public, otherwise you can't use the deployment service of GitHub pages. | ||
|
||
- Follow the instructions given by GitHub on how to push your local repository to GitHub | ||
|
||
##### Task 3 | ||
|
||
Deploy your website with GitHub Pages. | ||
|
||
The developers of Material for Mkdocs wrote a very good documentation about how to deploy your website on GitHub. Thus, I won't add anything to this but redirect you to the section [Publishing your site] on their website. | ||
|
||
[Publishing your site]: https://squidfunk.github.io/mkdocs-material/publishing-your-site/ | ||
[Publishing your site]: https://squidfunk.github.io/mkdocs-material/publishing-your-site/ | ||
[Google Slides]: https://docs.google.com/presentation/d/16Rgdn_-uqjZVwmeyDhGL41vKMRCFA0dSom2IpreZ59I/edit?usp=sharing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
--- | ||
template: overrides/home.html | ||
title: Welcome to this workshop! | ||
hide: | ||
- navigation | ||
--- | ||
|
||
# Web-Design for Scientists | ||
|
||
## A workshop for easy and fast website generation using mkdocs. | ||
|
||
More and more scientists make use of easy static website generation to introduce themselves and their work to the broad public, potential future employers or funding sources. | ||
|
||
![Image title](assets/images/landing.png){ align=right width="600"} | ||
|
||
During the workshop we will set up our own website using [Material for MkDocs] and [GitHub Pages].[^1] | ||
|
||
After going through this workshop you'll have a first draft of your website and the skills to develop the website further on your own. | ||
|
||
[Get started](https://julia-pfarr.github.io/workshop_webdesign/installing/){ .md-button } | ||
|
||
Find additional background information on web design, the utilized tools in this workshop and CI on GitHub in these | ||
|
||
[Google Slides](https://docs.google.com/presentation/d/16Rgdn_-uqjZVwmeyDhGL41vKMRCFA0dSom2IpreZ59I/edit?usp=sharing){ .md-button .md-button--primary } | ||
|
||
|
||
|
||
<br><br> | ||
[^1]: This website contains instructions on how to create a personal website using Material for MkDocs and is thus heavily based on the documentation pages for MkDocs, Material for MkDocs, and GitHub Pages. I want to thank the developers for making their software and documentation freely available for everyone. | ||
[^2]: Image by storyset, retrieved from freepik. | ||
|
||
[Material for MkDocs]: https://squidfunk.github.io/mkdocs-material/ | ||
[GitHub Pages]: https://pages.github.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
|
||
There's really a lot you can do to create your own website. Here are some further resources for trying different things: | ||
|
||
|
||
| **Free sites for hosting** | **Other themes for MkDocs** | **Other static site generators** | | ||
| -------------------------- | ---------------------------- |-----------------------------------| | ||
| Netlify | [MkDocs catalog] | [Jekyll] | | ||
| GitLab Pages | [MkDocs-themes] | [Hugo] | | ||
| Surge | | [Docusaurus] | | ||
| Firebase hosting | | [Sphinx] | | ||
| Bitbucket | | [GitBook] (closed source) | | ||
| Vercel | | ... | | ||
| Render | | | | ||
| Tiiny host | | | | ||
| AWS Amplify | | | | ||
| ... | | | | ||
|
||
|
||
### Resources for HTML coding | ||
|
||
Personally, I recommend the tutorial by [W3 Schools]. The documentation is very comprehensive but easy to understand. Additionally, they provide you with an interactive editor where you can try things out and see which changes in the code lead to what kind of difference in the rendering. | ||
|
||
[MkDocs catalog]: https://github.com/mkdocs/catalog | ||
[MkDocs-themes]: https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes | ||
[Docusaurus]: https://docusaurus.io/ | ||
[Jekyll]: https://jekyllrb.com/ | ||
[Sphinx]: https://www.sphinx-doc.org/en/master/ | ||
[GitBook]: https://www.gitbook.com/ | ||
[Hugo]: https://gohugo.io/ | ||
[W3 Schools]: https://www.w3schools.com/html/default.asp |
Empty file.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters