chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus setup. It's part of my efforts to simplify FreeSewing's setup so we can focus on our core value proposition.
This commit is contained in:
parent
497633d1d3
commit
ab3204f9f1
692 changed files with 11037 additions and 20674 deletions
35
sites/dev/docs/reference/api/attributes/readme.mdx
Normal file
35
sites/dev/docs/reference/api/attributes/readme.mdx
Normal file
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
title: Attributes
|
||||
---
|
||||
|
||||
An Attributes object holds attributes for a variety of other objects.
|
||||
|
||||
## Signature
|
||||
|
||||
```js
|
||||
Attributes new Attributes()
|
||||
```
|
||||
|
||||
The Attributes constructor takes no arguments.
|
||||
|
||||
## Properties
|
||||
|
||||
An Attributes object comes with the following property:
|
||||
|
||||
- `list` : Holds the internal object in which attributes are stored
|
||||
|
||||
## Methods
|
||||
An Attributes object exposes the following methods:
|
||||
|
||||
<ReadMore />
|
||||
|
||||
## Notes
|
||||
|
||||
Attributes are attached to [`Point`](/reference/api/point),
|
||||
[`Path`](/reference/api/path), and [`Snippet`](/reference/api/snippet) objects,
|
||||
as well as the internal [`Svg`](/reference/api/svg) object.
|
||||
|
||||
All of these have an instantiated Attributes object in their `attributes`
|
||||
property, as well as a number of (chainable) helper methods to manipulate the
|
||||
attributes. You will typically use these higher-level method and thus are
|
||||
unlikely to interact with an Attributes object directly.
|
Loading…
Add table
Add a link
Reference in a new issue