From 6b9c94af79af516960b448050f388e0e423ab5fd Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 17:10:06 +0530 Subject: [PATCH 1/6] Create CONTRIBUTING-GUIDE.md --- CONTRIBUTING-GUIDE.md | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 CONTRIBUTING-GUIDE.md diff --git a/CONTRIBUTING-GUIDE.md b/CONTRIBUTING-GUIDE.md new file mode 100644 index 0000000..12bf3da --- /dev/null +++ b/CONTRIBUTING-GUIDE.md @@ -0,0 +1,44 @@ +# Contributing to my CODEDOC blog +We want to make contributing to this project as easy and transparent as possible, whether it's: + +- Reporting a bug +- Discussing the current state of the code +- Submitting a fix +- Proposing new features +- Becoming a maintainer + +## We Develop with Github +We use GitHub to host code, to track issues and feature requests, as well as accept pull requests. + +## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests +Pull requests are the best way to propose changes to the codebase (we use [_**Github Flow**_](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests: + +1. Fork the repo and create your branch from `master`. +2. If you've added code that should be tested, add tests. +3. If you've changed APIs, update the documentation. +4. Ensure the test suite passes. +5. Make sure your code lints. +6. Issue that pull request! + +## Any contributions you make will be under the MIT Software License +In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern. + +## Report bugs using Github's [issues](https://github.com/coder-lg-/coder-lg-blog-codedoc/issues) +We use GitHub issues to track public bugs. Report a bug by [_**opening a new issue**_](https://github.com/coder-lg-/coder-lg-blog-codedoc/issues/new) and choosing a template(`bug`/`feature request`); it's that easy! + +## Write bug reports with detail, background, and sample code + +**Great Bug Reports** tend to have: + +- A quick summary and/or background +- Steps to reproduce + - Be specific! + - Give sample code if you can. +- What you expected would happen +- What actually happens +- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work) + +People *love* thorough bug reports. It helps the maintainer pinpoint to the specific file _causing_ the bug. + +## License +By contributing, you agree that your contributions will be licensed under the MIT License. From 7816eb8e14ea3bfbe6f91aa0506372e985b1e45b Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 17:14:50 +0530 Subject: [PATCH 2/6] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d7e370..ce58e16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DevOps +# credits to [`@TysonMN`](https://GitHub.com/TysonMN) for the blog! ## Essential @@ -59,8 +59,8 @@ Support for comments on posts is powered by utterances.  The comments are store ### GitHub -Of course GitHub also plays a crucial role.  In addition to hosting the comments in select issues, all the content is committed into this repo. The website is redeployed shortly after `master` is updated. +Of course GitHub also plays a crucial role.  In addition to hosting the comments in select issues, all the content is committed into this repo. The website is redeployed shortly after I activate my non-commited batch file that has a curl command to send a request. Useful for `suspense` # Improvements? -Is there some improvement that you would like to see in my blog?  You can tell me about it by [creating an issue](https://github.com/TysonMN/tyson-williams-blog/issues/new) or you can make the improvement yourself and then send me a [pull request](https://github.com/TysonMN/tyson-williams-blog/compare). \ No newline at end of file +Is there some improvement that you would like to see in my blog?  You can tell me about it by [creating an issue](https://github.com/coder-lg/coder-lg-blog-codedoc/issues/new) or you can make the improvement yourself and then send me a [pull request](https://github.com/coder-lg-blog-codedoc/compare). From 02c5d740815027b45b552caaa6de405302c963ed Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 17:22:25 +0530 Subject: [PATCH 3/6] fail, gotta change this --- .codedoc/content/footer.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.codedoc/content/footer.tsx b/.codedoc/content/footer.tsx index d71cff7..70aa124 100644 --- a/.codedoc/content/footer.tsx +++ b/.codedoc/content/footer.tsx @@ -5,3 +5,7 @@ import { Footer as _Footer } from '@codedoc/core/components'; export function Footer(config: CodedocConfig, renderer: any) { return <_Footer/>; } + + + + From ba053c9aa94406fb4d5775bdcddd2d3fc841e0d2 Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 17:32:40 +0530 Subject: [PATCH 4/6] Update footer.tsx --- .codedoc/content/footer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.codedoc/content/footer.tsx b/.codedoc/content/footer.tsx index 70aa124..db79005 100644 --- a/.codedoc/content/footer.tsx +++ b/.codedoc/content/footer.tsx @@ -5,7 +5,7 @@ import { Footer as _Footer } from '@codedoc/core/components'; export function Footer(config: CodedocConfig, renderer: any) { return <_Footer/>; } - - - + + + From 59346d29057111ced93a4e97f44fbd0f0e91ca14 Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 17:54:07 +0530 Subject: [PATCH 5/6] test 1 --- .codedoc/content/footer.tsx | 61 +++++++++++++++++++++++++++++++++---- 1 file changed, 55 insertions(+), 6 deletions(-) diff --git a/.codedoc/content/footer.tsx b/.codedoc/content/footer.tsx index db79005..3a690b3 100644 --- a/.codedoc/content/footer.tsx +++ b/.codedoc/content/footer.tsx @@ -1,11 +1,60 @@ -import { CodedocConfig } from '@codedoc/core'; +import { CodedocConfig, CodedocTheme } from '@codedoc/core'; import { Footer as _Footer } from '@codedoc/core/components'; +import { themedStyle, ThemedComponentThis } from '@connectv/jss-theme'; -export function Footer(config: CodedocConfig, renderer: any) { - return <_Footer/>; -} - +const style = themedStyle(() => ({ + imgLink: { + position: 'relative', + width: 24, + height: 24, + margin: '0 12px', + opacity: .25, + transition: 'opacity .1s !important', + '&:hover': { opacity: 1, }, + + '& img': { + position: 'absolute', + width: '100%', + height: '100%', + top: 0, + left: 0, + transition: 'opacity .3s', + + '&.light': { + 'body.dark &': { + opacity: 0, + }, + + '@media (prefers-color-scheme: dark)': { + 'body:not(.dark-mode-animate) &': { + opacity: 0 + } + }, + }, + + '&.dark': { + opacity: 0, + 'body.dark &': { + opacity: 1, + }, + + '@media (prefers-color-scheme: dark)': { + 'body:not(.dark-mode-animate) &': { + opacity: 1 + } + }, + }, + } + } +})); + + +export function Footer(this: ThemedComponentThis, config: CodedocConfig, renderer: any) { + const classes = this.theme.classes(style); + return <_Footer> + - + ; +} From 3cab6fb2dd9b7fe4308fa36c563485dc43d54c18 Mon Sep 17 00:00:00 2001 From: LG <76845820+coder-lg@users.noreply.github.com> Date: Tue, 27 Jul 2021 18:11:02 +0530 Subject: [PATCH 6/6] Update footer.tsx --- .codedoc/content/footer.tsx | 59 ++----------------------------------- 1 file changed, 3 insertions(+), 56 deletions(-) diff --git a/.codedoc/content/footer.tsx b/.codedoc/content/footer.tsx index 3a690b3..d71cff7 100644 --- a/.codedoc/content/footer.tsx +++ b/.codedoc/content/footer.tsx @@ -1,60 +1,7 @@ -import { CodedocConfig, CodedocTheme } from '@codedoc/core'; +import { CodedocConfig } from '@codedoc/core'; import { Footer as _Footer } from '@codedoc/core/components'; -import { themedStyle, ThemedComponentThis } from '@connectv/jss-theme'; -const style = themedStyle(() => ({ - imgLink: { - position: 'relative', - width: 24, - height: 24, - margin: '0 12px', - opacity: .25, - transition: 'opacity .1s !important', - '&:hover': { opacity: 1, }, - - '& img': { - position: 'absolute', - width: '100%', - height: '100%', - top: 0, - left: 0, - transition: 'opacity .3s', - - '&.light': { - 'body.dark &': { - opacity: 0, - }, - - '@media (prefers-color-scheme: dark)': { - 'body:not(.dark-mode-animate) &': { - opacity: 0 - } - }, - }, - - '&.dark': { - opacity: 0, - 'body.dark &': { - opacity: 1, - }, - - '@media (prefers-color-scheme: dark)': { - 'body:not(.dark-mode-animate) &': { - opacity: 1 - } - }, - }, - } - } -})); - - -export function Footer(this: ThemedComponentThis, config: CodedocConfig, renderer: any) { - const classes = this.theme.classes(style); - return <_Footer> - - - - ; +export function Footer(config: CodedocConfig, renderer: any) { + return <_Footer/>; }