digital-datasheets

command module
v0.0.0-...-06d8b84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

Digital Datasheet Properties

This repository contains information about the format and properties of digital datasheets for a variety of component types.

Document types include:

  • Specification for component properties
  • Specification for pin properties
  • Sample .json format for different types of digital datasheets

Contributing

If you are a working group member, to commit changes, submit a PR and request a review from at least one working group member.

If you are not a working group memeber, submit an issue to discuss your proposed change before submitting a PR.

Releasing

A new version of digital datasheets is officially released by merging a PR with changes for that version into the release repo: https://github.com/edatasheets/edatasheets.github

The release.sh script automates copying the appropriate files, generating a new README.md, and updating links. The script requires a version of golang and assumes a directory structure: ~/Documents/edatasheets.github and ~/Documents/digital-datasheets (of course you can modify the script to reflect your personal directory structure). After running the script, put up PRs in both the digital-datasheets and edatasheets.github repositories. Once these are approved and merged, the new version is officially released.

Documentation

Overview

spec-to-readme converts a JSON part spec into the equivalent documentation found in support-docs/README.md. Some manual additions are expected to be made after initial generation, but this handles all of the tedious copy-pasting between files.

This script expects two arguments: a directory with json schema files and the section number

Simple usage:

cat path/to/partspec.json | go run spec-to-readme.go  part-spec/passive "3.123"

Complex usage (bash):

CUR=10
for A in passives/ semiconductors/ ic_mic/; do
   go run spec-to-readme.go part-spec/$A "3.$CUR"
   ((CUR++))
done  >> support-docs/README.md

Directories

Path Synopsis
scripts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL