Skip to content

docs: Add detailed Python Syntax documentation with examples and explanations#86

Merged
sanjay-kv merged 4 commits into
recodehive:mainfrom
codewithdhruba01:add/Python-Syntax
Jun 7, 2025
Merged

docs: Add detailed Python Syntax documentation with examples and explanations#86
sanjay-kv merged 4 commits into
recodehive:mainfrom
codewithdhruba01:add/Python-Syntax

Conversation

@codewithdhruba01

Copy link
Copy Markdown
Member

issues : #85

This PR adds a new documentation page titled "Python Syntax" The page provides a detailed overview of Python’s syntax structure with properly categorized sections and code examples for better understanding.

What’s Included

  • Introduction to Python syntax
  • Comments (single-line and multi-line)
  • Variables and Data Types
  • Conditional statements (if, elif, else)
  • Loops (for, while)
  • Functions and return values
  • Modules and imports
  • Operators (Arithmetic, Comparison, Logical)
  • Indentation rules with examples
  • Clean and beginner-friendly formatting

Why This is Useful

This addition enhances the educational value of the Docusaurus site by serving as a beginner-friendly reference for Python learners. It fits well in the documentation section and follows consistent formatting.

@sanjay-kv sanjay-kv requested a review from Copilot June 7, 2025 06:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new Python Syntax documentation page, refines the Intro to Python section, and updates the Python category index description.

  • Adds docs/python/python-syntax.md with detailed Python syntax sections and examples
  • Updates docs/python/intro-python.md to include a “Why Python is So Popular” section and refines front-matter
  • Revises docs/python/_category_.json description to reflect Python content

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
docs/python/python-syntax.md New page covering Python syntax structure with examples
docs/python/intro-python.md Updated description and added popularity section for Python
docs/python/category.json Updated category index description to describe Python
Comments suppressed due to low confidence (2)

docs/python/python-syntax.md:9

  • [nitpick] The tag 'Introduction of python' uses a lowercase 'python' and the phrasing is unclear. Consider changing it to 'Introduction to Python' with proper capitalization.
    Introduction of python,

docs/python/python-syntax.md:29

  • The code block closing fence uses four backticks instead of three, which may break rendering. Replace the closing fence with ```.
</details>

@sanjay-kv sanjay-kv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good documentation.

@sanjay-kv sanjay-kv merged commit 7cffa79 into recodehive:main Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants