From 156f92cc3119c92dc906640128e6ebed0e048647 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Wed, 16 Apr 2025 02:53:39 -0400 Subject: [PATCH] Updating index to be more friendly and informational --- docs/index.md | 63 +++++++++++++++++++++++++++++++++++++------- docs/installation.md | 33 ++++++++++++++--------- 2 files changed, 73 insertions(+), 23 deletions(-) diff --git a/docs/index.md b/docs/index.md index 1ffe86b..ffab57c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,13 +1,56 @@ -# Welcome to Polydev +# πŸš€ Welcome to Polydev -![Python-polydev-720](https://github.com/user-attachments/assets/08232673-01a4-4464-9e98-5a94227e98f9) +Polydev is a highly customizable and extensible Neovim plugin aimed at streamlining project creation and management for multiple programming languages. It’s especially suited for developers who work across different languages and want a consistent workflow for initializing, building, and running projects. ----- -### What is Polydev? -Polydev is a simple plugin that gives neovim some nice functions while being extremely extensible for developers. It automatically detects your language and enables the module for that language. It is a standalone plugin that has no dependencies aside from getting file types. Below are a few features that are currently implemented: +![Polydev-c](https://github.com/user-attachments/assets/365dd673-6b1f-4ccc-ac1f-c5131d055fd9) -* Creating New Projects -* Creating New Files -* Building Files -* Running Files -* Builtin Terminal +## ❓ What is Polydev? + +Polydev is designed to be a centralized workspace tool that reduces repetitive tasks involved in setting up development environments. Whether you’re working on a Lua plugin, a Rust CLI tool, or a C++ project, Polydev helps you scaffold project directories, create boilerplate code, and define keybinds to streamline execution β€” all from within Neovim. + +## πŸ’‘ Why Polydev? + +Modern development often involves juggling multiple languages. Setting up similar environments repeatedly or manually running commands wastes time. Polydev solves this by providing: + +- πŸ“¦ **Project templates per language** +- 🎯 **Custom keybindings for common actions** +- πŸ’» **Floating terminal support** +- πŸ—‚ **Easy file creation and directory structure generation** +- πŸ”Œ **Plugin-first architecture to expand functionality** + +## πŸ”§ Core Features + +- 🌐 **Language Support**: Define custom settings per language including `project_root`, `keybinds`, and `build_attributes`. +- πŸͺŸ **Floating Terminals**: Run builds and executions in a Neovim floating terminal. +- 🧱 **Scaffolding**: Automatically create the appropriate directory and file layout for new projects. +- 🎹 **Keybind Mapping**: Rebind keys to execute project-specific commands like `Build`, `Run`, or `Test`. +- πŸ”Œ **Pluggable**: Designed to easily integrate with other tools or extend with your own commands and language presets. + +## πŸ‘₯ Target Audience + +Polydev is perfect for: + +- πŸ§‘β€πŸ’» Developers building across multiple languages +- πŸ”Œ Plugin authors and power users of Neovim +- ⚑ Anyone who wants automated project bootstrapping + +## 🎯 Goals + +- πŸ“ **Consistency**: Provide a common interface for all your dev projects. +- 🧩 **Extensibility**: Let users add their own languages and tools. +- ✨ **Simplicity**: Reduce boilerplate and context switching. + +## πŸ§ͺ Example Use Case + +Say you're a developer who works with Rust, Lua, and Python. Instead of remembering build commands, directory structures, or manually creating a `main.rs` or `init.lua`, Polydev: + +1. πŸ— Sets up your directory based on language conventions. +2. πŸ“„ Generates boilerplate files. +3. πŸŽ› Maps `pr` to `Run`, `pb` to `Build`, and so on. +4. πŸ–₯ Opens a floating terminal to show your output. + +## 🏷 Versioning + +Polydev uses GitHub tags and branches to manage plugin versions. Each version corresponds to a stable release that users can track. + +--- diff --git a/docs/installation.md b/docs/installation.md index c2e34ed..3a4f1f5 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -7,26 +7,33 @@ ---------- ```lua -require { - "DarthMooMancer/Polydev", - config = function() - require("Polydev").setup() - --require("Polydev").language.setup({ - -- configs - --}) - end +return { + "DarthMooMancer/Polydev", + opts = { + = { + ... + }, + terminal = { + ... + } + } } ``` ## Mini.Deps ------------ + ```lua MiniDeps.add({ - source = 'DarthMooMancer/Polydev', + source = 'DarthMooMancer/Polydev', }) -require("Polydev").setup() ---require("Polydev").language.setup({ - -- configs ---}) +require("Polydev").setup({ + = { + ... + }, + terminal = { + ... + } +}) ```