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

Convert to typescript #437

Merged
merged 81 commits into from
Jan 31, 2022
Merged
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
9ac7aa9
Add TypeScript packages and config
jlvandenhout Jan 14, 2022
620b901
Fix indentation
jlvandenhout Jan 14, 2022
cce7ffe
Add recommended type annotations
jlvandenhout Jan 14, 2022
d429c0f
Configure type checking properly
jlvandenhout Jan 14, 2022
226308d
Fix according Docusaurus team
jlvandenhout Jan 14, 2022
25b0630
Add packages
jlvandenhout Jan 14, 2022
3d89182
Install migration tool
jlvandenhout Jan 14, 2022
fd3f57e
[ts-migrate][iota-wiki] Rename files from JS/JSX to TS/TSX
jlvandenhout Jan 14, 2022
a1c65ea
[ts-migrate][iota-wiki] Run TS Migrate
jlvandenhout Jan 14, 2022
fb0eb99
Rename Docusaurus config to JavaScript file according docs
jlvandenhout Jan 14, 2022
2e34eed
Remove comments to avoid Docusaurus build fail
jlvandenhout Jan 14, 2022
23f92bf
Reference TypeScript sidebars
jlvandenhout Jan 14, 2022
abc7e03
Remove PropType checking
jlvandenhout Jan 14, 2022
ffb29eb
Remove PropType checking
jlvandenhout Jan 14, 2022
eb52b59
Remove redundant comment
jlvandenhout Jan 14, 2022
99a0b0d
Add type
jlvandenhout Jan 14, 2022
3abca6e
Allow JSON imports
jlvandenhout Jan 14, 2022
9bad710
Fix relative import
jlvandenhout Jan 14, 2022
391c77a
Use relative paths for now
jlvandenhout Jan 15, 2022
f49ef22
Swizzle BlogPostItem as TypeScript
jlvandenhout Jan 15, 2022
ad148d5
Swizzle EditThisPage as TypeScript
jlvandenhout Jan 15, 2022
0a83c26
Swizzle Footer as TypeScript
jlvandenhout Jan 15, 2022
ce1db3d
Swizzle MDXComponents as TypeScript
jlvandenhout Jan 15, 2022
9c4c72a
Swizzle Navbar as TypeScript
jlvandenhout Jan 15, 2022
dc94df3
Swizzle DefaultNavbarItem as TypeScript
jlvandenhout Jan 15, 2022
6aa702a
Swizzle DropdownNavbarItem as TypeScript
jlvandenhout Jan 15, 2022
0362b27
Swizzle NavbarItem as TypeScript
jlvandenhout Jan 15, 2022
9bab857
Swizzle Toggle as TypeScript
jlvandenhout Jan 15, 2022
d2c1aaa
Add url to frontmatter type
jlvandenhout Jan 16, 2022
a0a899a
Use correct type
jlvandenhout Jan 16, 2022
1175174
Add @ts-ignore rules to fix later
jlvandenhout Jan 16, 2022
8f29d6e
Re add style
jlvandenhout Jan 16, 2022
79ce657
Fix formatting
jlvandenhout Jan 16, 2022
1fe3ea3
Remove external link icons from footer
jlvandenhout Jan 16, 2022
3f25fd9
Remove TypeScript migration tool
jlvandenhout Jan 16, 2022
03ff130
Extend MDX with image tag
jlvandenhout Jan 17, 2022
4ce425c
Extend NavLink properties
jlvandenhout Jan 17, 2022
62cc065
Extend DropdownNavbarItemProps with check for dropdown
jlvandenhout Jan 17, 2022
29b0bb1
Update navbar items
jlvandenhout Jan 18, 2022
a5eca52
Remove ignore rule
jlvandenhout Jan 18, 2022
8556ceb
Fix context signature full screen image provider
jlvandenhout Jan 18, 2022
4f55532
Remove prop types related rules
jlvandenhout Jan 19, 2022
fcd9fd2
Only put shadowed components in the theme folder and the rest in comp…
jlvandenhout Jan 20, 2022
2f76279
Add NodeRequire types
jlvandenhout Jan 20, 2022
0ffd4da
Fix autoplay setting
jlvandenhout Jan 20, 2022
f187ba2
Swizzle SearchBar as TypeScript
jlvandenhout Jan 20, 2022
1c66377
Search is not typed yet so just ignore for now
jlvandenhout Jan 20, 2022
010635d
Type the HomeLayout and cards properly
jlvandenhout Jan 20, 2022
70fcc55
Remove relative import
jlvandenhout Jan 20, 2022
cd1f99f
Type socials properly
jlvandenhout Jan 20, 2022
9695ba6
Remove prop types
jlvandenhout Jan 20, 2022
29df0f2
Merge branch 'main' into convert-to-typescript
jlvandenhout Jan 20, 2022
d4a9323
Update packages
jlvandenhout Jan 20, 2022
edd9faf
Fix iteration issue
jlvandenhout Jan 20, 2022
d2285cb
Fix eslint card props type errors
jlvandenhout Jan 20, 2022
d77a3f6
Fix FullscreenImage eslint errors
jlvandenhout Jan 20, 2022
cf22c41
Fix HomeLayout eslint erros
jlvandenhout Jan 20, 2022
d120c01
Fix Slider eslint errors
jlvandenhout Jan 20, 2022
7c5e3a7
Fix Member eslint errors
jlvandenhout Jan 20, 2022
4d52685
Fix mega dropdown eslint errors
jlvandenhout Jan 20, 2022
d5027fb
Fix navbar type eslint errors
jlvandenhout Jan 20, 2022
c9e1c39
Fix Root eslint errors
jlvandenhout Jan 20, 2022
d2d1c5e
Fix display name errors
jlvandenhout Jan 20, 2022
4f8b28f
Resolve Typescript errors
jlvandenhout Jan 28, 2022
f573ac4
Swizzle Navbar as typescript
jlvandenhout Jan 30, 2022
62eb6a3
Change hook import
jlvandenhout Jan 30, 2022
00ddb69
Resolve unused vars and non null warnings
jlvandenhout Jan 30, 2022
fed6413
Resolve unused vars warnings
jlvandenhout Jan 30, 2022
5d9e37d
Resolve non null and unused vars warnings
jlvandenhout Jan 30, 2022
961a9fc
Resolve explicit any and unused vars warnings
jlvandenhout Jan 30, 2022
c973da7
Resolve non null assertion warnings
jlvandenhout Jan 30, 2022
f77248e
Swizzle searchbar component as typescript
jlvandenhout Jan 30, 2022
3844b13
Update editor
jlvandenhout Jan 30, 2022
891c0d7
Fix dropdown type check bug
jlvandenhout Jan 30, 2022
aae60f1
Format source code
jlvandenhout Jan 30, 2022
d29d6fa
Merge branch 'main' into convert-to-typescript
jlvandenhout Jan 31, 2022
f460b06
Correct image slider imports
jlvandenhout Jan 31, 2022
cec4b86
Use published package for the editor
jlvandenhout Jan 31, 2022
a5b8208
Fix headers
Dr-Electron Jan 31, 2022
1dc5990
Fix image bug
jlvandenhout Jan 31, 2022
91037e1
Update to Docusaurus beta.15
jlvandenhout Jan 31, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove external link icons from footer
  • Loading branch information
jlvandenhout committed Jan 16, 2022
commit 1fe3ea3c888abffce11baa67d8d8ea2cd4c20c5c
11 changes: 1 addition & 10 deletions src/theme/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import {
useThemeConfig,
} from '@docusaurus/theme-common';
import useBaseUrl from '@docusaurus/useBaseUrl';
import isInternalUrl from '@docusaurus/isInternalUrl';
import ThemedImage, { Props as ThemedImageProps } from '@theme/ThemedImage';
import IconExternalLink from '@theme/IconExternalLink';
import Social from '../Social';

function FooterLink({
Expand All @@ -38,14 +36,7 @@ function FooterLink({
to: toUrl,
})}
{...props}>
{href && !isInternalUrl(href) ? (
<span>
{label}
<IconExternalLink />
</span>
) : (
label
)}
{label}
</Link>
);
}
Expand Down