{"id":19969059,"url":"https://github.com/pwright/skupper-vocab","last_synced_at":"2025-03-01T17:44:23.326Z","repository":{"id":53215542,"uuid":"294643850","full_name":"pwright/skupper-vocab","owner":"pwright","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-01T07:00:53.000Z","size":422,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T09:08:07.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwright.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-11T08:53:48.000Z","updated_at":"2020-09-11T13:02:35.000Z","dependencies_parsed_at":"2022-09-15T06:13:27.798Z","dependency_job_id":null,"html_url":"https://github.com/pwright/skupper-vocab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"arotna/vocab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fskupper-vocab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fskupper-vocab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fskupper-vocab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fskupper-vocab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwright","download_url":"https://codeload.github.com/pwright/skupper-vocab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404220,"owners_count":19957650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T02:48:35.926Z","updated_at":"2025-03-01T17:44:23.306Z","avatar_url":"https://github.com/pwright.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Vocab\n\n\nExplore terminology choices using AsciiDoc preview.\n\nFor an example, checkout how link:doc.adoc[] renders at the link:https://arotna.github.io/vocab/index.html?product=vocab+utility\u0026feature1=write+generic+text\u0026feature2=allow+others+change+that+text\u0026feature3=keep+the+concepts+separate+from+structure[vocab website].\n\nClick the *Attributes* tab to change attribute values.\n\n\n.Prerequisites\n\n* Node\n* link:http://www.hygen.io/docs/quick-start[Hygen]\n* Static web server (for example, GitHub Pages)\n\n== Overview\n\nThis repo allows you to preview AsciiDoc *Content*, change *Attributes* values, then share the result in a way that allows the recipients change the attribute values on the fly.\nThe desired values are available from the resulting URL and displayed as *AsciiDoc Output*.\n\nThis is possible because:\n\n* The AsciiDoc is converted to HTML in the browser.\n* The attribute values are set using a HTML form and rendered in the URL.\n\n== Creating a Vocab site\n\nTo create a GitHub page to share your idea of attribute values, while allowing anyone to edit those values:\n\n. Fork this repo.\n. Write an AsciiDoc file using attributes.\n. Update the `index.html` using the following command:\n+\n----\n./create.sh \u003clist of attributes\u003e\n----\n+\nFor example, to manipulate a doc with the attributes `foo` and `bar`\n+\n----\n./create.sh foo bar\n----\n. Preview using a local web server, for example:\n+\n----\nhttp-server .\n----\n. Publish your site uing GitHub.\n. Set values in the site, you can copy the URL params from the preview.\n. Share the URL with collegues, expect feedback.\n\n\n== Installing and updating prereqs\n\nInstall node using link:https://github.com/nvm-sh/nvm[nvm].\n\nInstall hygen using `npm i -g hygen`.\n\nInstall a local web server using `npm i -g http-server`.\n\n\nYou might need to update the javascript library that renders the HTML.\n\n. Install or update the library using `npm install` in the repo root.\n\n. Copy the latest version to the repo root directory:\n+\n----\ncp node_modules/@asciidoctor/core/dist/browser/asciidoctor.js .\n----\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwright%2Fskupper-vocab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwright%2Fskupper-vocab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwright%2Fskupper-vocab/lists"}