An open API service indexing awesome lists of open source software.

https://github.com/hitthecodelabs/badge_documentation

How to automate badge URLs into HTML <img> tags.
https://github.com/hitthecodelabs/badge_documentation

Last synced: about 1 year ago
JSON representation

How to automate badge URLs into HTML <img> tags.

Awesome Lists containing this project

README

          

# Badge_Documentation

## Description

This repository contains a Jupyter Notebook that handles badge URLs stored in a `.txt` file. The notebook reads the URLs, filters out duplicates, formats them into HTML `` tags, sorts them alphabetically by badge name, and prints out the sorted badges both in HTML format and as a list separated by pipes.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Project Structure](#project-structure)
- [Contributing](#contributing)
- [License](#license)

## Installation

1. Clone this repository to your local machine.

```bash
# Clone the repository
git clone https://github.com/hitthecodelabs/Badge_Documentation.git

# Navigate into the directory
cd My_Badge_Documentation
```

2. Open the Jupyter Notebook (badges_script.ipynb) in Jupyter Notebook or Jupyter Lab to proceed.

## Usage

Make sure you have a file named `badges.txt` in the same directory as the Jupyter Notebook. This `.txt` file should contain URLs for the badges you want to document.

Run all the cells in the notebook to generate HTML `` tags for each unique badge and sort them alphabetically.

## Project Structure
- `badges_script.ipynb`: Jupyter Notebook that contains the code for badge processing.
- `badges.txt`: Text file containing badge URLs.

## Contributing
If you find any bugs or have feature requests, feel free to open an issue. Pull requests are also welcome.

## License

This project is licensed under the terms of the MIT License. See [LICENSE](./LICENSE) for more information.