Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide API examples documentation #54

Merged
merged 6 commits into from
Feb 8, 2024
Merged

Conversation

fajar-apri-alaska
Copy link
Contributor

@fajar-apri-alaska fajar-apri-alaska commented Feb 2, 2024

Alaska Airlines Pull Request

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Resolves: AuroDocsite#167

Summary:

  • Provide API example docs which is not available at the moment.
  • Also Modernize documentation-related generator script to match other Auro components / current WC-Generator
  • Rename demo.md to index.md and all references to the file.

Type of change:

Please delete options that are not relevant.

  • New capability
  • Revision of an existing capability
  • Infrastructure change (automation, etc.)
  • Other (please elaborate)

Checklist:

  • My update follows the CONTRIBUTING guidelines of this project
  • I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.

Thank you for your submission!

-- Auro Design System Team

demo/demo.md Outdated Show resolved Hide resolved
demo/demo.md Outdated Show resolved Hide resolved
demo/demo.md Outdated Show resolved Hide resolved
demo/demo.md Show resolved Hide resolved
scripts/generateDocs.mjs Outdated Show resolved Hide resolved
@fajar-apri-alaska fajar-apri-alaska force-pushed the fajarapri/modernizeDocs branch 2 times, most recently from 5781c89 to 9169d76 Compare February 5, 2024 04:48
@jordanjones243 jordanjones243 force-pushed the fajarapri/modernizeDocs branch 2 times, most recently from 99c30fa to 5ac1ed3 Compare February 7, 2024 20:13
@jordanjones243 jordanjones243 self-assigned this Feb 7, 2024
fajar-apri-alaska and others added 4 commits February 7, 2024 17:17
Changes to be committed:
	modified:   README.md
	new file:   apiExamples/basic.html
	new file:   apiExamples/custom-content.html
	new file:   apiExamples/error-multiline.html
	new file:   apiExamples/error-no-icon.html
	new file:   apiExamples/error.html
	new file:   apiExamples/fixed-pixels.html
	new file:   apiExamples/hidden-audible.html
	new file:   apiExamples/hidden-visually.html
	new file:   apiExamples/hidden.html
	new file:   apiExamples/information-multiline.html
	new file:   apiExamples/information-no-icon.html
	new file:   apiExamples/information.html
	new file:   apiExamples/role.html
	new file:   apiExamples/success-multiline.html
	new file:   apiExamples/success-no-icon.html
	new file:   apiExamples/success.html
	new file:   apiExamples/warning-multiline.html
	new file:   apiExamples/warning-no-icon.html
	new file:   apiExamples/warning.html
	new file:   demo/api.html
	new file:   demo/api.md
	modified:   demo/demo.md
	modified:   demo/index.html
	new file:   docs/partials/api.md
	new file:   docs/partials/demo.md
	new file:   docs/partials/description.md
	new file:   docs/partials/readmeAddlInfo.md
	new file:   docs/partials/useCases.md
	modified:   package-lock.json
	modified:   package.json
	new file:   scripts/generateDocs.mjs
- also rename demo.md to index.md with some other file that refer to the file.

Changes to be committed:
	new file:   apiExamples/custom.html
	modified:   demo/index.html
	renamed:    demo/demo.md -> demo/index.md
	modified:   docs/partials/api.md
	deleted:    docs/partials/demo.md
	new file:   docs/partials/index.md
	modified:   scripts/generateDocs.mjs
This commit adjusts content in the demo and api examples files. Also
updates the file names to the current spec. Also removed the
fixed-pixels demo and API content as this feature is deprecated.

The role API content and the demo was also removed as this is a private
internal API feature.

Changes to be committed:
modified:   README.md
deleted:    apiExamples/fixed-pixels.html
deleted:    apiExamples/role.html
modified:   apiExamples/warning-no-icon.html
modified:   demo/api.html
renamed:    demo/api.md -> demo/apiExamples.md
modified:   demo/index.md
modified:   docs/api.md
deleted:    docs/partials/api.md
new file:   docs/partials/apiExamples.md
modified:   docs/partials/index.md
modified:   scripts/generateDocs.mjs
modified:   src/auro-alert.js
@blackfalcon blackfalcon force-pushed the fajarapri/modernizeDocs branch 2 times, most recently from 8c1f461 to fbec107 Compare February 8, 2024 05:32
Changes to be committed:
modified:   package-lock.json
modified:   package.json
@blackfalcon blackfalcon merged commit 5023955 into main Feb 8, 2024
4 checks passed
@blackfalcon blackfalcon deleted the fajarapri/modernizeDocs branch February 8, 2024 05:35
@blackfalcon
Copy link
Member

🎉 This PR is included in version 2.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@blackfalcon blackfalcon added the released Completed work has been released label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Completed work has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

auro-Alert: No API Examples exist
3 participants