-
Notifications
You must be signed in to change notification settings - Fork 807
602/documentation framework #681
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
Conversation
Still missing quite a lot of stuff like analytics and deployment scripts.
Codecov Report
@@ Coverage Diff @@
## develop #681 +/- ##
===========================================
+ Coverage 56.77% 59.68% +2.91%
===========================================
Files 122 151 +29
Lines 4053 5155 +1102
===========================================
+ Hits 2301 3077 +776
- Misses 1752 2078 +326
Continue to review full report at Codecov.
|
@@ -0,0 +1,6 @@ | |||
--- | |||
title: "{{ replace .Name "-" " " | title }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this .Name property and why do we replace "-"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't checked the contents in depth, but logic seems fine
|
||
##### `Error: Unable to locate config file or config directory. Perhaps you need to create a new site.` | ||
|
||
What is your working directory? It should be `monkey/docs`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this could be avoided by explicitly specifying this in all cmd examples? Like instead of "Run hugo new folder/page.md
." we could use "Run hugo new monkey/docs/folder/page.md
"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather we not, because if you run that command inside the working dir it will work but not like you wanted
|
||
##### `failed to extract shortcode: template for shortcode "children" not found` | ||
|
||
Have you ran `git submodule update`? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be moved to requirements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be because theme is updated while working, so updated the title
|
||
#### Serve the documentation locally | ||
|
||
Run `hugo server -D`. The server will be available locally at `http://localhost:1313/infectionmonkey/docs/`. You can change the content/theme and the site will refresh automatically to reflect your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this is 404. The correct link is http://localhost:1313/
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, fixed
Added accounts and security page
required for static files to work
Made the homepage a lot more elegant with some custom HTML (new shortcode)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a lot of screenshots have white background that matches site's background, we should change the stylesheets to add a black border to images by default
@@ -0,0 +1,12 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if we should have this page in prod. This adds nothing that config page doesn't explain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather leave this section online and wait for your config PR - then we could improve this page (with example values and such)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not push it as draft?
@@ -0,0 +1,10 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we should have this page in prod. as this adds nothing that config page doesn't explain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather leave this section online and wait for your config PR - then we could improve this page (with example values and such)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not push it as draft?
What is this?
Fixes #602.
Checklist
Proof that it works
WIP picture:

Changes
Are the commit messages enough? If not, elaborate.