GithubHelp home page GithubHelp logo

diplodoc's Introduction

banner

Visits Badge

Hi there ๐Ÿ™‹โ€โ™‚๏ธ

This is Souvik, self taught software developer, currently working fulltime on @asyncapi.

  • ๐Ÿ’ผ Maintainer @asyncapi.
  • ๐Ÿ”ญ I'm currently working on asyncapi/cli.
  • ๐ŸŽ“ Bachelor of Engineering in Computer Science.
  • ๐ŸŒฑ I'm currently learning TypeScript and dependecy injection.
  • ๐Ÿ’ฌ Ask me about anything here
  • โœ๐Ÿป Writting blogs on hashnode.
  • โšก Fun-Fact: I love anime.

Languages and Tools:

๐Ÿ“ƒ Blogs

๐Ÿ… Stats

My Streak Stat
Souvik's streak stat
GitHub Stat

diplodoc's People

Stargazers

 avatar

Watchers

 avatar  avatar

diplodoc's Issues

[Feature]Create Command

Introduction

This command will bootstrap diplodoc app. For now, all it will do is spit out some directories and files.

File structure

- pages 
- components
- diplodoc.config.js 
- package.json 
- static 
    - images 

[FEATURE]build command

For now, we will just be converting the .md files into html files and bundle all styles and static files.

[Feature]CLI specification

As for now, the functionalities are

  • build
  • create
  • dev

build command

diplodoc will be converting .md files to .html also adding styles and static content and spit all these files into a build folder

create command

This command will generate a diplodoc project structure template.
basic template

- pages
    - index.md
- static
    - images
        - logo.png
- diplodoc.config.js

dev command

This command will just create a dev server and run on port localhost:3000 for development purpose.

(JS-D009) Prefer ternary operator

Description

Using an if-else statement typically results in more lines of code than a single-line ternary expression, which leads to an unnecessarily larger codebase that is more difficult to maintain. Additionally, using an if-else statement can result in defining variables using let or var solely to be reassigned within the blocks. โ€ฆ

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource โ†’ deepsource.io/gh/Souvikns/diplodoc/issue/JS-D009/occurrences/

(JS-0112) Unnecessary `catch` clauses found

Description

A catch clause that only rethrows the original error is redundant, and has no effect on the runtime behavior of the program. These redundant clauses can be a source of confusion and code bloat, so it's better to disallow these unnecessary catch clauses. Example - The not-preferred way : ```js โ€ฆ

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource โ†’ deepsource.io/gh/Souvikns/diplodoc/issue/JS-0112/occurrences/

[Feature]File reader and watcher support

Both the build command and dev command will access files thus it makes sense to have a separate class for these functionalities

Build

The build command will just read all the files and folders once

dev

The dev command will keep on updating the files when there will be any changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.