File tree Expand file tree Collapse file tree 2 files changed +263
-0
lines changed
Expand file tree Collapse file tree 2 files changed +263
-0
lines changed Original file line number Diff line number Diff line change 1+ from sphinx_design .icons import get_octicon_data
2+
3+
4+ def test_octicons (file_regression ):
5+ """Test the available octicon names.
6+
7+ This is intended to provide a diff of the octicons available,
8+ when the octicons are updated, to check if we are removing any
9+ (and hence breaking back-compatibility).
10+ """
11+ data = get_octicon_data ()
12+ content = ""
13+ for octicon in sorted (get_octicon_data ()):
14+ content += f"{ octicon } : { ',' .join (data [octicon ]['heights' ])} \n "
15+ file_regression .check (content )
Original file line number Diff line number Diff line change 1+ alert: 16,24
2+ alert-fill: 12
3+ archive: 16,24
4+ arrow-both: 16,24
5+ arrow-down: 16,24
6+ arrow-down-left: 24
7+ arrow-down-right: 24
8+ arrow-left: 16,24
9+ arrow-right: 16,24
10+ arrow-switch: 16,24
11+ arrow-up: 16,24
12+ arrow-up-left: 24
13+ arrow-up-right: 24
14+ beaker: 16,24
15+ bell: 16,24
16+ bell-fill: 16,24
17+ bell-slash: 16,24
18+ blocked: 16,24
19+ bold: 16,24
20+ book: 16,24
21+ bookmark: 16,24
22+ bookmark-fill: 24
23+ bookmark-slash: 16,24
24+ bookmark-slash-fill: 24
25+ briefcase: 16,24
26+ broadcast: 16,24
27+ browser: 16,24
28+ bug: 16,24
29+ calendar: 16,24
30+ check: 16,24
31+ check-circle: 16,24
32+ check-circle-fill: 12,16,24
33+ checklist: 16,24
34+ chevron-down: 16,24
35+ chevron-left: 16,24
36+ chevron-right: 16,24
37+ chevron-up: 16,24
38+ circle: 16,24
39+ circle-slash: 16,24
40+ clock: 16,24
41+ code: 16,24
42+ code-review: 16,24
43+ code-square: 16,24
44+ codescan: 16,24
45+ codescan-checkmark: 16,24
46+ codespaces: 16,24
47+ columns: 16,24
48+ comment: 16,24
49+ comment-discussion: 16,24
50+ commit: 24
51+ container: 16,24
52+ copy: 16,24
53+ cpu: 16,24
54+ credit-card: 16,24
55+ cross-reference: 16,24
56+ dash: 16,24
57+ database: 16,24
58+ dependabot: 16,24
59+ desktop-download: 16,24
60+ device-camera: 16
61+ device-camera-video: 16,24
62+ device-desktop: 16,24
63+ device-mobile: 16,24
64+ diamond: 16,24
65+ diff: 16,24
66+ diff-added: 16
67+ diff-ignored: 16
68+ diff-modified: 16
69+ diff-removed: 16
70+ diff-renamed: 16
71+ dot: 16,24
72+ dot-fill: 16,24
73+ download: 16,24
74+ duplicate: 16,24
75+ ellipsis: 16
76+ eye: 16,24
77+ eye-closed: 16,24
78+ file: 16,24
79+ file-badge: 16
80+ file-binary: 16,24
81+ file-code: 16,24
82+ file-diff: 16,24
83+ file-directory: 16,24
84+ file-directory-fill: 24
85+ file-media: 24
86+ file-submodule: 16,24
87+ file-symlink-file: 16,24
88+ file-zip: 16,24
89+ filter: 16,24
90+ flame: 16,24
91+ fold: 16,24
92+ fold-down: 16,24
93+ fold-up: 16,24
94+ gear: 16,24
95+ gift: 16,24
96+ git-branch: 16,24
97+ git-commit: 16,24
98+ git-compare: 16,24
99+ git-merge: 16,24
100+ git-pull-request: 16,24
101+ git-pull-request-closed: 16,24
102+ git-pull-request-draft: 16,24
103+ globe: 16,24
104+ grabber: 16,24
105+ graph: 16,24
106+ hash: 16,24
107+ heading: 16,24
108+ heart: 16,24
109+ heart-fill: 16,24
110+ history: 16,24
111+ home: 16,24
112+ home-fill: 24
113+ horizontal-rule: 16,24
114+ hourglass: 16,24
115+ hubot: 16,24
116+ image: 16,24
117+ inbox: 16,24
118+ infinity: 16,24
119+ info: 16,24
120+ issue-closed: 16,24
121+ issue-draft: 16,24
122+ issue-opened: 16,24
123+ issue-reopened: 16,24
124+ italic: 16,24
125+ iterations: 16,24
126+ kebab-horizontal: 16,24
127+ key: 16,24
128+ key-asterisk: 16
129+ law: 16,24
130+ light-bulb: 16,24
131+ link: 16,24
132+ link-external: 16,24
133+ list-ordered: 16,24
134+ list-unordered: 16,24
135+ location: 16,24
136+ lock: 16,24
137+ logo-gist: 16
138+ logo-github: 16
139+ mail: 16,24
140+ mark-github: 16
141+ markdown: 16
142+ megaphone: 16,24
143+ mention: 16,24
144+ meter: 16
145+ milestone: 16,24
146+ mirror: 16,24
147+ moon: 16,24
148+ mortar-board: 16,24
149+ multi-select: 16,24
150+ mute: 16,24
151+ no-entry: 16,24
152+ no-entry-fill: 12
153+ north-star: 16,24
154+ note: 16,24
155+ number: 16,24
156+ organization: 16,24
157+ package: 16,24
158+ package-dependencies: 16,24
159+ package-dependents: 16,24
160+ paintbrush: 16
161+ paper-airplane: 16,24
162+ paste: 16,24
163+ pencil: 16,24
164+ people: 16,24
165+ person: 16,24
166+ person-add: 16,24
167+ person-fill: 16,24
168+ pin: 16,24
169+ play: 16,24
170+ plug: 16,24
171+ plus: 16,24
172+ plus-circle: 16,24
173+ project: 16,24
174+ pulse: 16,24
175+ question: 16,24
176+ quote: 16,24
177+ reply: 16,24
178+ repo: 16,24
179+ repo-clone: 16
180+ repo-forked: 16,24
181+ repo-pull: 16
182+ repo-push: 16,24
183+ repo-template: 16,24
184+ report: 16,24
185+ rocket: 16,24
186+ rows: 16,24
187+ rss: 16,24
188+ ruby: 16,24
189+ screen-full: 16,24
190+ screen-normal: 16,24
191+ search: 16,24
192+ server: 16,24
193+ share: 16,24
194+ share-android: 16,24
195+ shield: 16,24
196+ shield-check: 16,24
197+ shield-lock: 16,24
198+ shield-x: 16,24
199+ sidebar-collapse: 16,24
200+ sidebar-expand: 16,24
201+ sign-in: 16,24
202+ sign-out: 16,24
203+ single-select: 16,24
204+ skip: 16,24
205+ smiley: 16,24
206+ sort-asc: 16,24
207+ sort-desc: 16,24
208+ square: 16,24
209+ square-fill: 16,24
210+ squirrel: 16,24
211+ stack: 16,24
212+ star: 16,24
213+ star-fill: 16,24
214+ stop: 16,24
215+ stopwatch: 16,24
216+ strikethrough: 16,24
217+ sun: 16,24
218+ sync: 16,24
219+ tab: 24
220+ table: 16,24
221+ tag: 16,24
222+ tasklist: 16,24
223+ telescope: 16,24
224+ telescope-fill: 16,24
225+ terminal: 16,24
226+ three-bars: 16
227+ thumbsdown: 16,24
228+ thumbsup: 16,24
229+ tools: 16,24
230+ trash: 16,24
231+ triangle-down: 16,24
232+ triangle-left: 16,24
233+ triangle-right: 16,24
234+ triangle-up: 16,24
235+ typography: 16,24
236+ unfold: 16,24
237+ unlock: 16,24
238+ unmute: 16,24
239+ unverified: 16,24
240+ upload: 16,24
241+ verified: 16,24
242+ versions: 16,24
243+ video: 16,24
244+ workflow: 16,24
245+ x: 16,24
246+ x-circle: 16,24
247+ x-circle-fill: 12,16,24
248+ zap: 16,24
You can’t perform that action at this time.
0 commit comments